| Listaller Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#define LISTALLER_TYPE_ERROR_ITEM gchar * listaller_error_item_to_string (ListallerErrorItem *self); ListallerErrorItem * listaller_error_item_new (ListallerErrorEnum type); ListallerErrorEnum listaller_error_item_get_error (ListallerErrorItem *self); const gchar * listaller_error_item_get_details (ListallerErrorItem *self); struct ListallerErrorItem; struct ListallerErrorItemClass; #define LISTALLER_TYPE_MESSAGE_ITEM gchar * listaller_message_item_to_string (ListallerMessageItem *self); ListallerMessageItem * listaller_message_item_new (ListallerMessageEnum type); ListallerMessageEnum listaller_message_item_get_mtype (ListallerMessageItem *self); const gchar * listaller_message_item_get_details (ListallerMessageItem *self); struct ListallerMessageItem; struct ListallerMessageItemClass; #define LISTALLER_TYPE_STATUS_ITEM ListallerStatusItem * listaller_status_item_new (ListallerStatusEnum type); ListallerStatusEnum listaller_status_item_get_status (ListallerStatusItem *self); const gchar * listaller_status_item_get_info (ListallerStatusItem *self); struct ListallerStatusItem; struct ListallerStatusItemClass; #define LISTALLER_TYPE_PROGRESS_ITEM ListallerProgressItem * listaller_progress_item_new (void); ListallerProgressEnum listaller_progress_item_get_prog_type (ListallerProgressItem *self); const gchar * listaller_progress_item_get_item_id (ListallerProgressItem *self); gint listaller_progress_item_get_value (ListallerProgressItem *self); struct ListallerProgressItem; struct ListallerProgressItemClass; #define LISTALLER_TYPE_UPDATE_ITEM ListallerUpdateItem * listaller_update_item_new (void); GType listaller_update_item_get_sw_type (ListallerUpdateItem *self); GObject * listaller_update_item_get_sw_old (ListallerUpdateItem *self); GObject * listaller_update_item_get_sw_new (ListallerUpdateItem *self); const gchar * listaller_update_item_get_architecture (ListallerUpdateItem *self); ListallerIPKChangelog * listaller_update_item_get_changelog (ListallerUpdateItem *self); gboolean listaller_update_item_get_completed (ListallerUpdateItem *self); struct ListallerUpdateItem; struct ListallerUpdateItemClass; gchar * listaller_error_enum_to_string (ListallerErrorEnum self); enum ListallerErrorEnum; enum ListallerStatusEnum; gchar * listaller_message_enum_to_string (ListallerMessageEnum self); enum ListallerMessageEnum; enum ListallerProgressEnum;
GObject +----ListallerErrorItem
GObject +----ListallerMessageItem
GObject +----ListallerStatusItem
GObject +----ListallerProgressItem
GObject +----ListallerUpdateItem
GEnum +----ListallerErrorEnum
GEnum +----ListallerStatusEnum
GEnum +----ListallerMessageEnum
GEnum +----ListallerProgressEnum
"details" gchar* : Read / Write "error" ListallerErrorEnum : Read / Write "details" gchar* : Read / Write "mtype" ListallerMessageEnum : Read / Write "info" gchar* : Read / Write "status" ListallerStatusEnum : Read / Write "item-id" gchar* : Read / Write "prog-type" ListallerProgressEnum : Read / Write "value" gint : Read / Write "architecture" gchar* : Read / Write "changelog" ListallerIPKChangelog* : Read / Write "completed" gboolean : Read / Write "sw-new" GObject* : Read / Write "sw-old" GObject* : Read / Write "sw-type" GType* : Read / Write
#define LISTALLER_TYPE_ERROR_ITEM (listaller_error_item_get_type ())
The type for ListallerErrorItem.
gchar * listaller_error_item_to_string (ListallerErrorItem *self);
|
the ListallerErrorItem instance |
ListallerErrorItem * listaller_error_item_new (ListallerErrorEnum type);
|
ListallerErrorEnum listaller_error_item_get_error (ListallerErrorItem *self);
Get and return the current value of the "error" property.
|
the ListallerErrorItem instance to query |
Returns : |
the value of the "error" property |
const gchar * listaller_error_item_get_details (ListallerErrorItem *self);
Get and return the current value of the "details" property.
|
the ListallerErrorItem instance to query |
Returns : |
the value of the "details" property |
struct ListallerErrorItemClass {
GObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_ERROR_ITEM. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |
#define LISTALLER_TYPE_MESSAGE_ITEM (listaller_message_item_get_type ())
The type for ListallerMessageItem.
gchar * listaller_message_item_to_string (ListallerMessageItem *self);
|
the ListallerMessageItem instance |
ListallerMessageItem * listaller_message_item_new (ListallerMessageEnum type);
|
ListallerMessageEnum listaller_message_item_get_mtype (ListallerMessageItem *self);
Get and return the current value of the "mtype" property.
|
the ListallerMessageItem instance to query |
Returns : |
the value of the "mtype" property |
const gchar * listaller_message_item_get_details (ListallerMessageItem *self);
Get and return the current value of the "details" property.
|
the ListallerMessageItem instance to query |
Returns : |
the value of the "details" property |
struct ListallerMessageItemClass {
GObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_MESSAGE_ITEM. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |
#define LISTALLER_TYPE_STATUS_ITEM (listaller_status_item_get_type ())
The type for ListallerStatusItem.
ListallerStatusItem * listaller_status_item_new (ListallerStatusEnum type);
|
ListallerStatusEnum listaller_status_item_get_status (ListallerStatusItem *self);
Get and return the current value of the "status" property.
|
the ListallerStatusItem instance to query |
Returns : |
the value of the "status" property |
const gchar * listaller_status_item_get_info (ListallerStatusItem *self);
Get and return the current value of the "info" property.
|
the ListallerStatusItem instance to query |
Returns : |
the value of the "info" property |
struct ListallerStatusItemClass {
GObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_STATUS_ITEM. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |
#define LISTALLER_TYPE_PROGRESS_ITEM (listaller_progress_item_get_type ())
The type for ListallerProgressItem.
ListallerProgressEnum listaller_progress_item_get_prog_type
(ListallerProgressItem *self);
Get and return the current value of the "prog-type" property.
|
the ListallerProgressItem instance to query |
Returns : |
the value of the "prog-type" property |
const gchar * listaller_progress_item_get_item_id (ListallerProgressItem *self);
Get and return the current value of the "item-id" property.
|
the ListallerProgressItem instance to query |
Returns : |
the value of the "item-id" property |
gint listaller_progress_item_get_value (ListallerProgressItem *self);
Get and return the current value of the "value" property.
|
the ListallerProgressItem instance to query |
Returns : |
the value of the "value" property |
struct ListallerProgressItemClass {
GObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_PROGRESS_ITEM. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |
#define LISTALLER_TYPE_UPDATE_ITEM (listaller_update_item_get_type ())
The type for ListallerUpdateItem.
GType listaller_update_item_get_sw_type (ListallerUpdateItem *self);
Get and return the current value of the "sw-type" property.
|
the ListallerUpdateItem instance to query |
Returns : |
the value of the "sw-type" property |
GObject * listaller_update_item_get_sw_old (ListallerUpdateItem *self);
Get and return the current value of the "sw-old" property.
|
the ListallerUpdateItem instance to query |
Returns : |
the value of the "sw-old" property |
GObject * listaller_update_item_get_sw_new (ListallerUpdateItem *self);
Get and return the current value of the "sw-new" property.
|
the ListallerUpdateItem instance to query |
Returns : |
the value of the "sw-new" property |
const gchar * listaller_update_item_get_architecture
(ListallerUpdateItem *self);
Get and return the current value of the "architecture" property.
|
the ListallerUpdateItem instance to query |
Returns : |
the value of the "architecture" property |
ListallerIPKChangelog * listaller_update_item_get_changelog
(ListallerUpdateItem *self);
Get and return the current value of the "changelog" property.
|
the ListallerUpdateItem instance to query |
Returns : |
the value of the "changelog" property |
gboolean listaller_update_item_get_completed (ListallerUpdateItem *self);
Get and return the current value of the "completed" property.
|
the ListallerUpdateItem instance to query |
Returns : |
the value of the "completed" property |
struct ListallerUpdateItemClass {
GObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_UPDATE_ITEM. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |
gchar * listaller_error_enum_to_string (ListallerErrorEnum self);
|
the ListallerErrorEnum instance |
typedef enum {
LISTALLER_ERROR_ENUM_INVALID,
LISTALLER_ERROR_ENUM_INTERNAL,
LISTALLER_ERROR_ENUM_SETUP_NOT_INITIALIZED,
LISTALLER_ERROR_ENUM_IPK_LOADING_FAILED,
LISTALLER_ERROR_ENUM_IPK_INCOMPLETE,
LISTALLER_ERROR_ENUM_IPK_DAMAGED,
LISTALLER_ERROR_ENUM_IPK_NOT_SUPPORTED,
LISTALLER_ERROR_ENUM_OPERATION_NOT_ALLOWED,
LISTALLER_ERROR_ENUM_UNPACKING_FAILED,
LISTALLER_ERROR_ENUM_FILE_EXISTS,
LISTALLER_ERROR_ENUM_HASH_MISSMATCH,
LISTALLER_ERROR_ENUM_FILE_INSTALL_FAILED,
LISTALLER_ERROR_ENUM_COPY_ERROR,
LISTALLER_ERROR_ENUM_INSTALLATION_FAILED,
LISTALLER_ERROR_ENUM_DATABASE_LOCKED,
LISTALLER_ERROR_ENUM_DATABASE_FAILURE,
LISTALLER_ERROR_ENUM_DATABASE_OPEN_FAILED,
LISTALLER_ERROR_ENUM_ALREADY_INSTALLED,
LISTALLER_ERROR_ENUM_REMOVAL_FAILED,
LISTALLER_ERROR_ENUM_WRONG_ARCHITECTURE,
LISTALLER_ERROR_ENUM_DEPENDENCY_MISSING,
LISTALLER_ERROR_ENUM_DEPENDENCY_INSTALL_FAILED,
LISTALLER_ERROR_ENUM_NATIVE_TRANSACTION_FAILED,
LISTALLER_ERROR_ENUM_NETWORK_ERROR,
LISTALLER_ERROR_ENUM_REFRESH_FAILED,
LISTALLER_ERROR_ENUM_UPDATE_FAILED
} ListallerErrorEnum;
typedef enum {
LISTALLER_STATUS_ENUM_UNKNOWN,
LISTALLER_STATUS_ENUM_ACTION_STARTED,
LISTALLER_STATUS_ENUM_RESOLVING_DEPENDENCIES,
LISTALLER_STATUS_ENUM_INSTALLING_FILES,
LISTALLER_STATUS_ENUM_REGISTERING_APPLICATION,
LISTALLER_STATUS_ENUM_INSTALLATION_FINISHED,
LISTALLER_STATUS_ENUM_REMOVAL_FINISHED
} ListallerStatusEnum;
gchar * listaller_message_enum_to_string (ListallerMessageEnum self);
|
the ListallerMessageEnum instance |
typedef enum {
LISTALLER_MESSAGE_ENUM_UNKNOWN,
LISTALLER_MESSAGE_ENUM_INFO,
LISTALLER_MESSAGE_ENUM_WARNING,
LISTALLER_MESSAGE_ENUM_CRITICAL
} ListallerMessageEnum;
"error" property"error" ListallerErrorEnum : Read / Write
error.
Default value: LISTALLER_ERROR_ENUM_INVALID
"mtype" property"mtype" ListallerMessageEnum : Read / Write
mtype.
Default value: LISTALLER_MESSAGE_ENUM_UNKNOWN
"status" property"status" ListallerStatusEnum : Read / Write
status.
Default value: LISTALLER_STATUS_ENUM_UNKNOWN
"prog-type" property"prog-type" ListallerProgressEnum : Read / Write
prog-type.
Default value: LISTALLER_PROGRESS_ENUM_MAIN_PROGRESS