From 3be70a897e563658736b2dec3a9ea2697b69b225 Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Tue, 22 Oct 2013 14:25:12 +0000 Subject: Update licenses to all match --- gui/gui.cpp | 30 ++++++++++++++++-------------- gui/gui.h | 44 +++++++++++++++++++++++++++++++------------- gui/input.cpp | 18 ++++++++++++++++++ gui/keyboard.cpp | 38 +++++++++++++++++--------------------- gui/objects.hpp | 3 ++- gui/pages.cpp | 1 + 6 files changed, 85 insertions(+), 49 deletions(-) (limited to 'gui') diff --git a/gui/gui.cpp b/gui/gui.cpp index 8329827e3..e9efc1db9 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -1,18 +1,20 @@ /* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + Copyright 2012 bigbiff/Dees_Troy TeamWin + This file is part of TWRP/TeamWin Recovery Project. + + TWRP is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + TWRP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TWRP. If not, see . +*/ #include #include diff --git a/gui/gui.h b/gui/gui.h index c6af2e4d1..fc3c0c47a 100644 --- a/gui/gui.h +++ b/gui/gui.h @@ -1,13 +1,31 @@ -#ifndef _GUI_HEADER -#define _GUI_HEADER - -int gui_console_only(); -int gui_init(); -int gui_loadResources(); -int gui_start(); -int gui_startPage(const char* page_name); -void gui_print(const char *fmt, ...); -void gui_print_overwrite(const char *fmt, ...); - -#endif // _GUI_HEADER - +/* + Copyright 2012 bigbiff/Dees_Troy TeamWin + This file is part of TWRP/TeamWin Recovery Project. + + TWRP is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + TWRP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TWRP. If not, see . +*/ + +#ifndef _GUI_HEADER +#define _GUI_HEADER + +int gui_console_only(); +int gui_init(); +int gui_loadResources(); +int gui_start(); +int gui_startPage(const char* page_name); +void gui_print(const char *fmt, ...); +void gui_print_overwrite(const char *fmt, ...); + +#endif // _GUI_HEADER + diff --git a/gui/input.cpp b/gui/input.cpp index 19e4e6a5b..4fd1d0ecf 100644 --- a/gui/input.cpp +++ b/gui/input.cpp @@ -1,3 +1,21 @@ +/* + Copyright 2012 bigbiff/Dees_Troy TeamWin + This file is part of TWRP/TeamWin Recovery Project. + + TWRP is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + TWRP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TWRP. If not, see . +*/ + // input.cpp - GUIInput object #include diff --git a/gui/keyboard.cpp b/gui/keyboard.cpp index 7b6d006fa..95cdbf1c8 100644 --- a/gui/keyboard.cpp +++ b/gui/keyboard.cpp @@ -1,24 +1,20 @@ -/* keyboard.cpp - GUIKeyboard object - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - * - * The code was written from scratch by Dees_Troy dees_troy at - * yahoo - * - * Copyright (c) 2012 - */ +/* + Copyright 2012 bigbiff/Dees_Troy TeamWin + This file is part of TWRP/TeamWin Recovery Project. + + TWRP is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + TWRP 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TWRP. If not, see . +*/ #include #include diff --git a/gui/objects.hpp b/gui/objects.hpp index c259fd490..e7bb2a0ee 100644 --- a/gui/objects.hpp +++ b/gui/objects.hpp @@ -15,7 +15,8 @@ You should have received a copy of the GNU General Public License along with TWRP. If not, see . */ -// objects.h - Base classes for object manager of GUI + +// objects.hpp - Base classes for object manager of GUI #ifndef _OBJECTS_HEADER #define _OBJECTS_HEADER diff --git a/gui/pages.cpp b/gui/pages.cpp index 2bb70e170..d02dd216d 100644 --- a/gui/pages.cpp +++ b/gui/pages.cpp @@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License along with TWRP. If not, see . */ + // pages.cpp - Source to manage GUI base objects #include -- cgit v1.2.3