ListallerUpdater

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

Functions

Properties

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

Signals

void update Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── ListallerMessageObject
        ╰── ListallerUpdater

Description

This class allows installing updates for installed applications.

Functions

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.

Parameters

self

the ListallerUpdater instance

 

listaller_updater_apply_updates ()

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

Apply updates selected in update_list.

Parameters

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

Parameters

self

the ListallerUpdater instance

 

listaller_updater_new ()

ListallerUpdater *
listaller_updater_new (gboolean shared_mode);

Create a new Listaller update manager

Parameters

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.

Parameters

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 .

Parameters

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.

Parameters

self

the ListallerUpdater instance to query

 

Returns

the value of the "available-updates" property

Types and Values

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.

Members

ListallerMessageObjectClass parent_class;

the parent class structure

 

Property Details

The “available-updates” property

  “available-updates”        GeeArrayList *

available-updates.

Flags: Read


The “settings” property

  “settings”                 ListallerSetupSettings *

settings.

Flags: Read / Write

Signal Details

The “update” signal

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

Parameters

updater

the ListallerUpdater instance that received the signal

 

update

 

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last