Ubuntu Platform API  2.1.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 File Reference
+ Include dependency graph for instance.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void UApplicationInstance
 Opaque type describing an application instance.An application instance encapsulates the event loop of an app. More...
 

Functions

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. More...
 
UBUNTU_DLL_PUBLIC void u_application_instance_ref (UApplicationInstance *instance)
 Increments the reference count of an application instance. More...
 
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 object if the reference count reaches 0. More...
 
UBUNTU_DLL_PUBLIC void u_application_instance_destroy (UApplicationInstance *instance)
 Destroys the application instance and releases all its resources. More...
 
UBUNTU_DLL_PUBLIC void u_application_instance_run (UApplicationInstance *instance)
 Executes the event loop of the application instance. More...