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 21 #include "console.h" 22 23 /* 24 * Initializes one and only one instance of a core display. 25 * Only used to register a dummy display change listener that 26 * will trigger a timer. 27 * ds - Display state to use for the core display. 28 */ 29 extern void coredisplay_init(DisplayState* ds); 30 31 #endif /* _ANDROID_DISPLAY_CORE_H */ 32