blob: 4a2b129ebeee311dc475d41e7e216ab20899d918 [file] [log] [blame]
Vladimir Chtchetkine72d83df2010-12-14 09:24:02 -08001/* 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' Turner1c31e3e2013-12-14 20:07:17 +010021#include "ui/console.h"
Vladimir Chtchetkine72d83df2010-12-14 09:24:02 -080022
23/*
24 * Initializes one and only one instance of a core display.
David 'Digit' Turner7a5ee572011-02-02 15:58:45 +010025 * Only used to register a dummy display change listener that
26 * will trigger a timer.
Vladimir Chtchetkine72d83df2010-12-14 09:24:02 -080027 * ds - Display state to use for the core display.
28 */
Vladimir Chtchetkinee95660a2010-12-20 08:28:03 -080029extern void coredisplay_init(DisplayState* ds);
30
Vladimir Chtchetkine72d83df2010-12-14 09:24:02 -080031#endif /* _ANDROID_DISPLAY_CORE_H */