ListallerErrorItem

ListallerErrorItem — Return type describing an error

Synopsis

#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;

Object Hierarchy

  GObject
   +----ListallerErrorItem
  GObject
   +----ListallerMessageItem
  GObject
   +----ListallerStatusItem
  GObject
   +----ListallerProgressItem
  GObject
   +----ListallerUpdateItem
  GEnum
   +----ListallerErrorEnum
  GEnum
   +----ListallerStatusEnum
  GEnum
   +----ListallerMessageEnum
  GEnum
   +----ListallerProgressEnum

Properties

  "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

Description

Details

LISTALLER_TYPE_ERROR_ITEM

#define LISTALLER_TYPE_ERROR_ITEM (listaller_error_item_get_type ())

The type for ListallerErrorItem.


listaller_error_item_to_string ()

gchar *             listaller_error_item_to_string      (ListallerErrorItem *self);

self :

the ListallerErrorItem instance

listaller_error_item_new ()

ListallerErrorItem * listaller_error_item_new           (ListallerErrorEnum type);

type :

 

listaller_error_item_get_error ()

ListallerErrorEnum  listaller_error_item_get_error      (ListallerErrorItem *self);

Get and return the current value of the "error" property.

self :

the ListallerErrorItem instance to query

Returns :

the value of the "error" property

listaller_error_item_get_details ()

const gchar *       listaller_error_item_get_details    (ListallerErrorItem *self);

Get and return the current value of the "details" property.

self :

the ListallerErrorItem instance to query

Returns :

the value of the "details" property

struct ListallerErrorItem

struct ListallerErrorItem;

Return type describing an error


struct ListallerErrorItemClass

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 parent_class;

the parent class structure

LISTALLER_TYPE_MESSAGE_ITEM

#define LISTALLER_TYPE_MESSAGE_ITEM (listaller_message_item_get_type ())

The type for ListallerMessageItem.


listaller_message_item_to_string ()

gchar *             listaller_message_item_to_string    (ListallerMessageItem *self);

self :

the ListallerMessageItem instance

listaller_message_item_new ()

ListallerMessageItem * listaller_message_item_new       (ListallerMessageEnum type);

type :

 

listaller_message_item_get_mtype ()

ListallerMessageEnum listaller_message_item_get_mtype   (ListallerMessageItem *self);

Get and return the current value of the "mtype" property.

self :

the ListallerMessageItem instance to query

Returns :

the value of the "mtype" property

listaller_message_item_get_details ()

const gchar *       listaller_message_item_get_details  (ListallerMessageItem *self);

Get and return the current value of the "details" property.

self :

the ListallerMessageItem instance to query

Returns :

the value of the "details" property

struct ListallerMessageItem

struct ListallerMessageItem;

Return type describing a message


struct ListallerMessageItemClass

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 parent_class;

the parent class structure

LISTALLER_TYPE_STATUS_ITEM

#define LISTALLER_TYPE_STATUS_ITEM (listaller_status_item_get_type ())

The type for ListallerStatusItem.


listaller_status_item_new ()

ListallerStatusItem * listaller_status_item_new         (ListallerStatusEnum type);

type :

 

listaller_status_item_get_status ()

ListallerStatusEnum listaller_status_item_get_status    (ListallerStatusItem *self);

Get and return the current value of the "status" property.

self :

the ListallerStatusItem instance to query

Returns :

the value of the "status" property

listaller_status_item_get_info ()

const gchar *       listaller_status_item_get_info      (ListallerStatusItem *self);

Get and return the current value of the "info" property.

self :

the ListallerStatusItem instance to query

Returns :

the value of the "info" property

struct ListallerStatusItem

struct ListallerStatusItem;

Return type describing a status change


struct ListallerStatusItemClass

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 parent_class;

the parent class structure

LISTALLER_TYPE_PROGRESS_ITEM

#define LISTALLER_TYPE_PROGRESS_ITEM (listaller_progress_item_get_type ())

The type for ListallerProgressItem.


listaller_progress_item_new ()

ListallerProgressItem * listaller_progress_item_new     (void);

listaller_progress_item_get_prog_type ()

ListallerProgressEnum listaller_progress_item_get_prog_type
                                                        (ListallerProgressItem *self);

Get and return the current value of the "prog-type" property.

self :

the ListallerProgressItem instance to query

Returns :

the value of the "prog-type" property

listaller_progress_item_get_item_id ()

const gchar *       listaller_progress_item_get_item_id (ListallerProgressItem *self);

Get and return the current value of the "item-id" property.

self :

the ListallerProgressItem instance to query

Returns :

the value of the "item-id" property

listaller_progress_item_get_value ()

gint                listaller_progress_item_get_value   (ListallerProgressItem *self);

Get and return the current value of the "value" property.

self :

the ListallerProgressItem instance to query

Returns :

the value of the "value" property

struct ListallerProgressItem

struct ListallerProgressItem;

Return type describing progress changes


struct ListallerProgressItemClass

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 parent_class;

the parent class structure

LISTALLER_TYPE_UPDATE_ITEM

#define LISTALLER_TYPE_UPDATE_ITEM (listaller_update_item_get_type ())

The type for ListallerUpdateItem.


listaller_update_item_new ()

ListallerUpdateItem * listaller_update_item_new         (void);

listaller_update_item_get_sw_type ()

GType               listaller_update_item_get_sw_type   (ListallerUpdateItem *self);

Get and return the current value of the "sw-type" property.

self :

the ListallerUpdateItem instance to query

Returns :

the value of the "sw-type" property

listaller_update_item_get_sw_old ()

GObject *           listaller_update_item_get_sw_old    (ListallerUpdateItem *self);

Get and return the current value of the "sw-old" property.

self :

the ListallerUpdateItem instance to query

Returns :

the value of the "sw-old" property

listaller_update_item_get_sw_new ()

GObject *           listaller_update_item_get_sw_new    (ListallerUpdateItem *self);

Get and return the current value of the "sw-new" property.

self :

the ListallerUpdateItem instance to query

Returns :

the value of the "sw-new" property

listaller_update_item_get_architecture ()

const gchar *       listaller_update_item_get_architecture
                                                        (ListallerUpdateItem *self);

Get and return the current value of the "architecture" property.

self :

the ListallerUpdateItem instance to query

Returns :

the value of the "architecture" property

listaller_update_item_get_changelog ()

ListallerIPKChangelog * listaller_update_item_get_changelog
                                                        (ListallerUpdateItem *self);

Get and return the current value of the "changelog" property.

self :

the ListallerUpdateItem instance to query

Returns :

the value of the "changelog" property

listaller_update_item_get_completed ()

gboolean            listaller_update_item_get_completed (ListallerUpdateItem *self);

Get and return the current value of the "completed" property.

self :

the ListallerUpdateItem instance to query

Returns :

the value of the "completed" property

struct ListallerUpdateItem

struct ListallerUpdateItem;

Return type describing a software update


struct ListallerUpdateItemClass

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 parent_class;

the parent class structure

listaller_error_enum_to_string ()

gchar *             listaller_error_enum_to_string      (ListallerErrorEnum self);

self :

the ListallerErrorEnum instance

enum ListallerErrorEnum

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;

enum ListallerStatusEnum

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;

listaller_message_enum_to_string ()

gchar *             listaller_message_enum_to_string    (ListallerMessageEnum self);

self :

the ListallerMessageEnum instance

enum ListallerMessageEnum

typedef enum {
	LISTALLER_MESSAGE_ENUM_UNKNOWN,
	LISTALLER_MESSAGE_ENUM_INFO,
	LISTALLER_MESSAGE_ENUM_WARNING,
	LISTALLER_MESSAGE_ENUM_CRITICAL
} ListallerMessageEnum;

enum ListallerProgressEnum

typedef enum {
	LISTALLER_PROGRESS_ENUM_MAIN_PROGRESS,
	LISTALLER_PROGRESS_ENUM_ITEM_PROGRESS
} ListallerProgressEnum;

Property Details

The "details" property

  "details"                  gchar*                : Read / Write

details.

Default value: NULL


The "error" property

  "error"                    ListallerErrorEnum    : Read / Write

error.

Default value: LISTALLER_ERROR_ENUM_INVALID


The "details" property

  "details"                  gchar*                : Read / Write

details.

Default value: NULL


The "mtype" property

  "mtype"                    ListallerMessageEnum  : Read / Write

mtype.

Default value: LISTALLER_MESSAGE_ENUM_UNKNOWN


The "info" property

  "info"                     gchar*                : Read / Write

info.

Default value: NULL


The "status" property

  "status"                   ListallerStatusEnum   : Read / Write

status.

Default value: LISTALLER_STATUS_ENUM_UNKNOWN


The "item-id" property

  "item-id"                  gchar*                : Read / Write

item-id.

Default value: NULL


The "prog-type" property

  "prog-type"                ListallerProgressEnum  : Read / Write

prog-type.

Default value: LISTALLER_PROGRESS_ENUM_MAIN_PROGRESS


The "value" property

  "value"                    gint                  : Read / Write

value.

Default value: 0


The "architecture" property

  "architecture"             gchar*                : Read / Write

architecture.

Default value: NULL


The "changelog" property

  "changelog"                ListallerIPKChangelog*  : Read / Write

changelog.


The "completed" property

  "completed"                gboolean              : Read / Write

completed.

Default value: FALSE


The "sw-new" property

  "sw-new"                   GObject*              : Read / Write

sw-new.


The "sw-old" property

  "sw-old"                   GObject*              : Read / Write

sw-old.


The "sw-type" property

  "sw-type"                  GType*                : Read / Write

sw-type.

Allowed values: void