Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
|
|
Go to the documentation of this file.
20 #ifndef UBUNTU_APPLICATION_INSTANCE_H_
21 #define UBUNTU_APPLICATION_INSTANCE_H_
28 #include <mir_toolkit/mir_client_library.h>
UBUNTU_DLL_PUBLIC void u_application_instance_run(UApplicationInstance *instance)
Executes the event loop of the application instance.
UBUNTU_DLL_PUBLIC void u_application_instance_unref(UApplicationInstance *instance)
Decrements the reference count of an application instance and releases all resources held by the obje...
UBUNTU_DLL_PUBLIC UApplicationInstance * u_application_instance_new_from_description_with_options(UApplicationDescription *desc, UApplicationOptions *options)
Creates a new application instance with a reference count of 1.
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...
UBUNTU_DLL_PUBLIC void u_application_instance_destroy(UApplicationInstance *instance)
Destroys the application instance and releases all its resources.
UBUNTU_DLL_PUBLIC void u_application_instance_ref(UApplicationInstance *instance)
Increments the reference count of an application instance.
#define UBUNTU_DLL_PUBLIC
void UApplicationDescription
Encapsulates properties of an application instance.
void UApplicationInstance
Opaque type describing an application instance.
void UApplicationOptions
Encapsulates options as passed to the application.