![]() |
![]() |
![]() |
PackageKit Reference Manual | ![]() |
---|---|---|---|---|
PkExtraObj; PkExtraObj* pk_extra_obj_new (void); PkExtraObj* pk_extra_obj_new_from_package_id (const gchar *package_id); PkExtraObj* pk_extra_obj_new_from_package_id_summary (const gchar *package_id, const gchar *summary); gboolean pk_extra_obj_free (PkExtraObj *extra_obj);
typedef struct { PkPackageId *id; gchar *icon; gchar *exec; gchar *summary; /* one line quick description */ } PkExtraObj;
The cached structure for the extra fields from the metadata store
PkExtraObj* pk_extra_obj_new (void);
Creates a new PkExtraObj object with default values
Returns : |
a new PkExtraObj object |
PkExtraObj* pk_extra_obj_new_from_package_id (const gchar *package_id);
Creates a new PkExtraObj object with values taken from the supplied id.
|
the package_id to pre-fill the object |
Returns : |
a new PkExtraObj object |
PkExtraObj* pk_extra_obj_new_from_package_id_summary (const gchar *package_id, const gchar *summary);
Creates a new PkExtraObj object with values taken from the supplied id.
|
the package_id to pre-fill the object |
|
|
Returns : |
a new PkExtraObj object |
gboolean pk_extra_obj_free (PkExtraObj *extra_obj);
|
the PkExtraObj object |
Returns : |
TRUE if the PkExtraObj object was freed.
|