Ubuntu Platform API  2.9.0
A library helping with tight integration into the Ubuntu platform
options.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 /*
21  * DEPRECATED: In favor of u_application_instance_get_mir_connection
22  * and the mir client library
23  */
24 
25 #ifndef UBUNTU_APPLICATION_UI_OPTIONS_H_
26 #define UBUNTU_APPLICATION_UI_OPTIONS_H_
27 
28 #include <ubuntu/visibility.h>
29 
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38  __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
40  u_application_options_get_form_factor(
41  UApplicationOptions* options);
42 
43  __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
45  u_application_options_get_stage(
46  UApplicationOptions* options);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* UBUNTU_APPLICATION_UI_OPTIONS_H_ */
UBUNTU_DLL_PUBLIC MirConnection * u_application_instance_get_mir_connection(UApplicationInstance *instance)
Return the MirConnection associated with an application instance. Use of MirConnection with the mir c...
UAUiStage
Definition: stage.h:28
void UApplicationOptions
Encapsulates options as passed to the application.
Definition: options.h:35
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library"))) UBUNTU_DLL_PUBLIC UAUiFormFactor u_application_options_get_form_factor(UApplicationOptions *options)
#define UBUNTU_DLL_PUBLIC
Definition: visibility.h:26
UAUiFormFactor
Definition: form_factor.h:28