|
UBUNTU_DLL_PUBLIC
UApplicationArchive * | u_application_archive_new () |
| Creates a new archive, ownership is transferred to caller. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_archive_destroy (UApplicationArchive *archive) |
| Destroys the given archive instance and releases all resources held by the instance. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_write (UApplicationArchive *archive, int64_t s) |
| Writes a signed 64-bit integer to the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_write_stringn (UApplicationArchive *archive, const char *s, size_t size) |
| Writes a string of characters to the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_write_wstringn (UApplicationArchive *archive, const wchar_t *s, size_t size) |
| Writes a string of wide characters to the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_write_bytes (UApplicationArchive *archive, const intptr_t *data, size_t size) |
| Writes a blob of binary data to the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_read (const UApplicationArchive *archive, int64_t *s) |
| Reads a signed 64-bit integer from the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_read_stringn (const UApplicationArchive *archive, const char **s, size_t *size) |
| Reads a string of characters from the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_read_wstringn (UApplicationArchive *archive, const wchar_t *s, size_t size) |
| Reads a string of wide characters from the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC UStatus | u_application_archive_read_bytes (UApplicationArchive *archive, const intptr_t *data, size_t size) |
| Reads a blob of binary data from the supplied archive. More...
|
|
UBUNTU_DLL_PUBLIC
UApplicationDescription * | u_application_description_new () |
| Creates a new instance of application description. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_description_destroy (UApplicationDescription *desc) |
| Destroys an instance of application description and releases all resources. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_description_set_application_id (UApplicationDescription *desc, UApplicationId *id) |
| Sets the application id contained in the description instance. More...
|
|
UBUNTU_DLL_PUBLIC UApplicationId * | u_application_description_get_application_id (UApplicationDescription *desc) |
| Queries the application id contained in the description instance. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_description_set_application_lifecycle_delegate (UApplicationDescription *desc, UApplicationLifecycleDelegate *lifecycle_delegate) |
| Sets the application lifecycle delegate. More...
|
|
UBUNTU_DLL_PUBLIC
UApplicationLifecycleDelegate * | u_application_description_get_application_lifecycle_delegate (UApplicationDescription *desc) |
| Queries the application lifecycle delegate. More...
|
|
UBUNTU_DLL_PUBLIC UApplicationId * | u_application_id_new_from_stringn (const char *string, size_t size) |
| Creates a new application ID from an existing string. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_id_destroy (UApplicationId *id) |
| Destroy the supplied application ID instance. More...
|
|
UBUNTU_DLL_PUBLIC int | u_application_id_compare (UApplicationId *lhs, UApplicationId *rhs) |
| Compares two application ID instances. More...
|
|
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...
|
|
UBUNTU_DLL_PUBLIC
UApplicationLifecycleDelegate * | u_application_lifecycle_delegate_new () |
| Creates a new instance of the lifecycle delegate with an initial refernce count of 1. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_lifecycle_delegate_destroy (UApplicationLifecycleDelegate *delegate) |
| Destroys an instance of the lifecycle delegate and releases all of its resources. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_lifecycle_delegate_ref (UApplicationLifecycleDelegate *delegate) |
| Increments the reference count of the supplied lifecycle delegate. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_lifecycle_delegate_unref (UApplicationLifecycleDelegate *delegate) |
| Decrements the reference count of the supplied lifecycle delegate and destroys it if the count reaches 0. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_lifecycle_delegate_set_application_resumed_cb (UApplicationLifecycleDelegate *delegate, u_on_application_resumed cb) |
| Sets the resumed cb for the supplied delegate. More...
|
|
UBUNTU_DLL_PUBLIC
u_on_application_resumed | u_application_lifecycle_delegate_get_application_resumed_cb (UApplicationLifecycleDelegate *delegate) |
| Queries the resumed cb from the supplied delegate. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_lifecycle_delegate_set_application_about_to_stop_cb (UApplicationLifecycleDelegate *delegate, u_on_application_about_to_stop cb) |
| Sets the about-to-stop cb for the supplied delegate. More...
|
|
UBUNTU_DLL_PUBLIC
u_on_application_about_to_stop | u_application_lifecycle_delegate_get_application_about_to_stop_cb (UApplicationLifecycleDelegate *delegate) |
| Queries the about-to-be-stopped cb from the supplied delegate. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_lifecycle_delegate_set_context (UApplicationLifecycleDelegate *delegate, void *context) |
| Sets the cb context for the supplied delegate. More...
|
|
UBUNTU_DLL_PUBLIC void * | u_application_lifecycle_delegate_get_context (UApplicationLifecycleDelegate *delegate, void *context) |
| Queries the cb context from the supplied delegate. More...
|
|
UBUNTU_DLL_PUBLIC
UApplicationOptions * | u_application_options_new_from_cmd_line (int argc, char **argv) |
| Parses options from the command line. More...
|
|
UBUNTU_DLL_PUBLIC void | u_application_options_destroy (UApplicationOptions *options) |
| Destroys the options object and releases all resources. More...
|
|
UBUNTU_DLL_PUBLIC
UApplicationOperationMode | u_application_options_get_operation_mode (UApplicationOptions *options) |
| Queries the operation mode from the supplied options object. More...
|
|