init.h
Go to the documentation of this file.
/*
* Copyright © 2013 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Authored by: Ricardo Mendoza <ricardo.mendoza@canonical.com>
*/
#ifndef UBUNTU_APPLICATION_INIT_H_
#define UBUNTU_APPLICATION_INIT_H_
#include <ubuntu/visibility.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
UBUNTU_DLL_PUBLIC void
u_application_module_version(
uint32_t *major,
uint32_t *minor,
uint32_t *patch);
UBUNTU_DLL_PUBLIC void
u_application_init(
void *args);
UBUNTU_DLL_PUBLIC void
u_application_finish();
#ifdef __cplusplus
}
#endif
#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.
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.
visibility.h
UBUNTU_DLL_PUBLIC
#define UBUNTU_DLL_PUBLIC
Definition: visibility.h:26