ListallerUpdater

ListallerUpdater — All necessary methods to keep installed applications up-to-date

Synopsis

#define             LISTALLER_TYPE_UPDATER
void                listaller_updater_find_updates      (ListallerUpdater *self);
gboolean            listaller_updater_apply_updates     (ListallerUpdater *self,
                                                         GeeArrayList *update_list);
gboolean            listaller_updater_apply_updates_all (ListallerUpdater *self);
ListallerUpdater *  listaller_updater_new               (gboolean shared_mode);
ListallerSetupSettings * listaller_updater_get_settings (ListallerUpdater *self);
void                listaller_updater_set_settings      (ListallerUpdater *self,
                                                         ListallerSetupSettings *value);
GeeArrayList *      listaller_updater_get_available_updates
                                                        (ListallerUpdater *self);
struct              ListallerUpdater;
struct              ListallerUpdaterClass;

Object Hierarchy

  GObject
   +----ListallerMessageObject
         +----ListallerUpdater

Properties

  "available-updates"        GeeArrayList*         : Read
  "settings"                 ListallerSetupSettings*  : Read / Write

Signals

  "update"                                         : Run Last

Description

This class allows installing updates for installed applications.

Details

LISTALLER_TYPE_UPDATER

#define LISTALLER_TYPE_UPDATER (listaller_updater_get_type ())

The type for ListallerUpdater.


listaller_updater_find_updates ()

void                listaller_updater_find_updates      (ListallerUpdater *self);

Find updates available for installed applications.

self :

the ListallerUpdater instance

listaller_updater_apply_updates ()

gboolean            listaller_updater_apply_updates     (ListallerUpdater *self,
                                                         GeeArrayList *update_list);

Apply updates selected in update_list.

self :

the ListallerUpdater instance

update_list :

A list containing valid UpdateItems. [in]

listaller_updater_apply_updates_all ()

gboolean            listaller_updater_apply_updates_all (ListallerUpdater *self);

Apply all available updates

self :

the ListallerUpdater instance

listaller_updater_new ()

ListallerUpdater *  listaller_updater_new               (gboolean shared_mode);

Create a new Listaller update manager

shared_mode :

Whether we are in shared mode or not. [in]

listaller_updater_get_settings ()

ListallerSetupSettings * listaller_updater_get_settings (ListallerUpdater *self);

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

self :

the ListallerUpdater instance to query

Returns :

the value of the "settings" property

listaller_updater_set_settings ()

void                listaller_updater_set_settings      (ListallerUpdater *self,
                                                         ListallerSetupSettings *value);

Set the value of the "settings" property to value.

self :

the ListallerUpdater instance to modify

value :

the new value of the "settings" property

listaller_updater_get_available_updates ()

GeeArrayList *      listaller_updater_get_available_updates
                                                        (ListallerUpdater *self);

Get and return the current value of the "available-updates" property.

self :

the ListallerUpdater instance to query

Returns :

the value of the "available-updates" property

struct ListallerUpdater

struct ListallerUpdater;

All necessary methods to keep installed applications up-to-date

This class allows installing updates for installed applications.


struct ListallerUpdaterClass

struct ListallerUpdaterClass {
	ListallerMessageObjectClass parent_class;
};

The class structure for LISTALLER_TYPE_UPDATER. All the fields in this structure are private and should never be accessed directly.

ListallerMessageObjectClass parent_class;

the parent class structure

Property Details

The "available-updates" property

  "available-updates"        GeeArrayList*         : Read

available-updates.


The "settings" property

  "settings"                 ListallerSetupSettings*  : Read / Write

settings.

Signal Details

The "update" signal

void                user_function                      (ListallerUpdater    *updater,
                                                        ListallerUpdateItem *update,
                                                        gpointer             user_data)      : Run Last

updater :

the ListallerUpdater instance that received the signal

user_data :

user data set when the signal handler was connected.