Ubuntu Platform API  2.5.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
display.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2013 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License version 3 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Ricardo Mendoza <ricardo.mendoza@canonical.com>
17  * Thomas Voß <thomas.voss@canonical.com>
18  */
19 
20 #ifndef UBUNTU_APPLICATION_UI_DISPLAY_H_
21 #define UBUNTU_APPLICATION_UI_DISPLAY_H_
22 
23 #include <ubuntu/visibility.h>
24 
25 #include <EGL/egl.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31  typedef void UAUiDisplay;
32 
33  UBUNTU_DLL_PUBLIC UAUiDisplay*
35  size_t index);
36 
39  UAUiDisplay* display);
40 
41  UBUNTU_DLL_PUBLIC uint32_t
43  UAUiDisplay* display);
44 
45  UBUNTU_DLL_PUBLIC uint32_t
47  UAUiDisplay* display);
48 
49  UBUNTU_DLL_PUBLIC EGLNativeDisplayType
51  UAUiDisplay* display);
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* UBUNTU_APPLICATION_UI_DISPLAY_H_ */
UBUNTU_DLL_PUBLIC UAUiDisplay * ua_ui_display_new_with_index(size_t index)
UBUNTU_DLL_PUBLIC EGLNativeDisplayType ua_ui_display_get_native_type(UAUiDisplay *display)
UBUNTU_DLL_PUBLIC void ua_ui_display_destroy(UAUiDisplay *display)
UBUNTU_DLL_PUBLIC uint32_t ua_ui_display_query_vertical_res(UAUiDisplay *display)
void UAUiDisplay
Definition: display.h:31
#define UBUNTU_DLL_PUBLIC
Definition: visibility.h:26
UBUNTU_DLL_PUBLIC uint32_t ua_ui_display_query_horizontal_res(UAUiDisplay *display)