31
* \brief Encapsulates properties of an application instance.
32
* \ingroup application_support
30
34
typedef void UApplicationDescription;
37
* \brief Creates a new instance of application description.
38
* \ingroup application_support
39
* \returns A new application description instance or NULL if not enough memory is available.
32
41
UApplicationDescription*
33
42
u_application_description_new();
45
* \brief Destroys an instance of application description and releases all resources.
46
* \ingroup application_support
47
* \param[in] desc The instance to be destroyed.
36
50
u_application_description_destroy(
37
UApplicationDescription *desc);
51
UApplicationDescription *desc);
54
* \brief Sets the application id contained in the description instance.
55
* \ingroup application_support
56
* \param[in] desc The application description instance, must not be NULL.
57
* \param[in] id The new application id, must not be NULL.
40
60
u_application_description_set_application_id(
41
UApplicationDescription *desc,
61
UApplicationDescription *desc,
65
* \brief Queries the application id contained in the description instance.
66
* \ingroup application_support
67
* \returns The app id contained in the instance.
68
* \param[in] desc The application description instance, must not be NULL.
45
71
u_application_description_get_application_id(
46
UApplicationDescription *desc);
72
UApplicationDescription *desc);
75
* \brief Sets the application lifecycle delegate
76
* \ingroup application_support
77
* \param[in] desc The application description instance, must not be NULL.
78
* \param[in] lifecycle_delegate The new lifecycle delegate, must not be NULL.
49
81
u_application_description_set_application_lifecycle_delegate(
50
UApplicationDescription *desc,
51
UApplicationLifecycleDelegate *lifecycle_delegate);
53
UApplicationLifecycleDelegate*
82
UApplicationDescription *desc,
83
UApplicationLifecycleDelegate *lifecycle_delegate);
86
* \brief Queries the application lifecycle delegate
87
* \ingroup application_support
88
* \returns The application lifecycle delegate contained in the description instance.
89
* \param[in] desc The application description instance, must not be NULL.
91
UApplicationLifecycleDelegate*
54
92
u_application_description_get_application_lifecycle_delegate(
55
UApplicationDescription *desc);
93
UApplicationDescription *desc);