Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
init.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
*/
18
19
#ifndef UBUNTU_APPLICATION_INIT_H_
20
#define UBUNTU_APPLICATION_INIT_H_
21
22
#include <
ubuntu/visibility.h
>
23
24
#include <stdint.h>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
37
UBUNTU_DLL_PUBLIC
void
38
u_application_module_version
(
39
uint32_t *major,
40
uint32_t *minor,
41
uint32_t *patch);
42
48
UBUNTU_DLL_PUBLIC
void
49
u_application_init
(
50
void
*args);
51
56
UBUNTU_DLL_PUBLIC
void
57
u_application_finish
();
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* UBUNTU_APPLICATION_INIT_H_ */
u_application_init
UBUNTU_DLL_PUBLIC void u_application_init(void *args)
Initializes the Ubuntu Application API backend with args.
visibility.h
u_application_finish
UBUNTU_DLL_PUBLIC void u_application_finish()
Signal termination to the Application backend instance.
u_application_module_version
UBUNTU_DLL_PUBLIC void u_application_module_version(uint32_t *major, uint32_t *minor, uint32_t *patch)
Queries the Module Version that is currently loaded.
UBUNTU_DLL_PUBLIC
#define UBUNTU_DLL_PUBLIC
Definition:
visibility.h:26
include
ubuntu
application
init.h
Generated on Wed Feb 15 2023 19:21:36 for Ubuntu Platform API by
1.8.17