aboutsummaryrefslogtreecommitdiffstats
path: root/android/display-core.h
blob: e6a1b7dba65b3a1caae1c92f6fa1a25b8bee9171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Copyright (C) 2010 The Android Open Source Project
**
** This software is licensed under the terms of the GNU General Public
** License version 2, as published by the Free Software Foundation, and
** may be copied, distributed, and modified under those terms.
**
** 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.
*/

/*
 * Contains extension to android display (see android/display.h|c) that is used
 * by the core to communicate display changes to the attached UI
 */

#ifndef _ANDROID_DISPLAY_CORE_H
#define _ANDROID_DISPLAY_CORE_H

#include "console.h"

/*
 * Initializes one and only one instance of a core display.
 * Only used to register a dummy display change listener that
 * will trigger a timer.
 *  ds - Display state to use for the core display.
 */
extern void coredisplay_init(DisplayState* ds);

#endif /* _ANDROID_DISPLAY_CORE_H */