Skip to content

Commit

Permalink
add: license identifier and header
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCui4080 committed Feb 21, 2024
1 parent eef1739 commit f7126bd
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/exception.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// This file is a part of libscratch3
// Copyright (C) 2024 libscratch3 Authors

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// SPDX-License-Identifier: LGPL-3.0-or-later

#include "exception.hpp"
#include <format>
using namespace libsc3;
Expand Down
18 changes: 18 additions & 0 deletions src/exception.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// This file is a part of libscratch3
// Copyright (C) 2024 libscratch3 Authors

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// SPDX-License-Identifier: LGPL-3.0-or-later

#pragma once
#include <exception>
#include <stdexcept>
Expand Down
18 changes: 18 additions & 0 deletions src/player.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// This file is a part of libscratch3
// Copyright (C) 2024 libscratch3 Authors

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// SPDX-License-Identifier: LGPL-3.0-or-later

#include "player.hpp"
#include "exception.hpp"
using namespace libsc3;
Expand Down
18 changes: 18 additions & 0 deletions src/player.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// This file is a part of libscratch3
// Copyright (C) 2024 libscratch3 Authors

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// SPDX-License-Identifier: LGPL-3.0-or-later

#pragma once
#include <SDL2/SDL.h>
#include <memory>
Expand Down
19 changes: 19 additions & 0 deletions src/project.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// This file is a part of libscratch3
// Copyright (C) 2024 libscratch3 Authors

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// SPDX-License-Identifier: LGPL-3.0-or-later

#include "project.hpp"
#include "exception.hpp"
#include <iostream>
Expand Down Expand Up @@ -186,4 +204,5 @@ stage::stage(boost::json::value& json_value,
std::unordered_map<std::string, element_file_type>& elem_list)
: target(*this, json_value, elem_list)
{

}
18 changes: 18 additions & 0 deletions src/project.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
// This file is a part of libscratch3
// Copyright (C) 2024 libscratch3 Authors

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// SPDX-License-Identifier: LGPL-3.0-or-later

#pragma once
#include <zip.h>
#include <filesystem>
Expand Down

0 comments on commit f7126bd

Please sign in to comment.