Vladimir Chtchetkine | 72d83df | 2010-12-14 09:24:02 -0800 | [diff] [blame] | 1 | /* Copyright (C) 2010 The Android Open Source Project |
| 2 | ** |
| 3 | ** This software is licensed under the terms of the GNU General Public |
| 4 | ** License version 2, as published by the Free Software Foundation, and |
| 5 | ** may be copied, distributed, and modified under those terms. |
| 6 | ** |
| 7 | ** This program is distributed in the hope that it will be useful, |
| 8 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | ** GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /* |
| 14 | * Contains extension to android display (see android/display.h|c) that is used |
| 15 | * by the core to communicate display changes to the attached UI |
| 16 | */ |
| 17 | |
| 18 | #ifndef _ANDROID_DISPLAY_CORE_H |
| 19 | #define _ANDROID_DISPLAY_CORE_H |
| 20 | |
David 'Digit' Turner | 7a5ee57 | 2011-02-02 15:58:45 +0100 | [diff] [blame] | 21 | #include "console.h" |
Vladimir Chtchetkine | 72d83df | 2010-12-14 09:24:02 -0800 | [diff] [blame] | 22 | |
| 23 | /* |
| 24 | * Initializes one and only one instance of a core display. |
David 'Digit' Turner | 7a5ee57 | 2011-02-02 15:58:45 +0100 | [diff] [blame] | 25 | * Only used to register a dummy display change listener that |
| 26 | * will trigger a timer. |
Vladimir Chtchetkine | 72d83df | 2010-12-14 09:24:02 -0800 | [diff] [blame] | 27 | * ds - Display state to use for the core display. |
| 28 | */ |
Vladimir Chtchetkine | e95660a | 2010-12-20 08:28:03 -0800 | [diff] [blame] | 29 | extern void coredisplay_init(DisplayState* ds); |
| 30 | |
Vladimir Chtchetkine | 72d83df | 2010-12-14 09:24:02 -0800 | [diff] [blame] | 31 | #endif /* _ANDROID_DISPLAY_CORE_H */ |