Ubuntu Platform API
1.0.0
A library helping with tight integration into the Ubuntu platform
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
instance.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_INSTANCE_H_
21
#define UBUNTU_APPLICATION_INSTANCE_H_
22
23
#include <
ubuntu/visibility.h
>
24
25
#include <
ubuntu/application/description.h
>
26
#include <
ubuntu/application/options.h
>
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
39
typedef
void
UApplicationInstance
;
40
48
UBUNTU_DLL_PUBLIC
UApplicationInstance*
49
u_application_instance_new_from_description_with_options
(
50
UApplicationDescription
*desc,
51
UApplicationOptions
*options);
52
58
UBUNTU_DLL_PUBLIC
void
59
u_application_instance_ref
(
60
UApplicationInstance *instance);
61
67
UBUNTU_DLL_PUBLIC
void
68
u_application_instance_unref
(
69
UApplicationInstance *instance);
70
76
UBUNTU_DLL_PUBLIC
void
77
u_application_instance_destroy
(
78
UApplicationInstance *instance);
79
85
UBUNTU_DLL_PUBLIC
void
86
u_application_instance_run
(
87
UApplicationInstance *instance);
88
89
#ifdef __cplusplus
90
}
91
#endif
92
93
#endif
/* UBUNTU_APPLICATION_INSTANCE_H_ */
include
ubuntu
application
instance.h
Generated on Tue Oct 15 2013 02:50:25 for Ubuntu Platform API by
1.8.4