diff options
author | Dees Troy <dees_troy@teamw.in> | 2013-10-22 16:25:12 +0200 |
---|---|---|
committer | Lalit Maganti <lalitmaganti@gmail.com> | 2013-10-24 21:30:42 +0200 |
commit | d8a26e0be997c5ed70496f888b899fdb2acb0481 (patch) | |
tree | 7617864efbb164939998831fa94fb32f13cd23b7 /gui | |
parent | Fix spelling error (diff) | |
download | android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.tar android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.tar.gz android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.tar.bz2 android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.tar.lz android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.tar.xz android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.tar.zst android_bootable_recovery-d8a26e0be997c5ed70496f888b899fdb2acb0481.zip |
Diffstat (limited to 'gui')
-rw-r--r-- | gui/gui.cpp | 30 | ||||
-rw-r--r-- | gui/gui.h | 44 | ||||
-rw-r--r-- | gui/input.cpp | 18 | ||||
-rw-r--r-- | gui/keyboard.cpp | 38 | ||||
-rw-r--r-- | gui/objects.hpp | 3 | ||||
-rw-r--r-- | gui/pages.cpp | 1 |
6 files changed, 85 insertions, 49 deletions
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 <http://www.gnu.org/licenses/>. +*/ #include <linux/input.h> #include <pthread.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 <http://www.gnu.org/licenses/>. +*/ + +#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 <http://www.gnu.org/licenses/>. +*/ + // input.cpp - GUIInput object #include <linux/input.h> 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 <http://www.gnu.org/licenses/>. +*/ #include <stdarg.h> #include <stdio.h> 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 <http://www.gnu.org/licenses/>. */ -// 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 <http://www.gnu.org/licenses/>. */ + // pages.cpp - Source to manage GUI base objects #include <stdarg.h> |