![]() |
![]() |
![]() |
Listaller Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#define LISTALLER_TYPE_SETUP ListallerIPKInstallMode listaller_setup_supported_install_modes (ListallerSetup *self
); gboolean listaller_setup_set_install_mode (ListallerSetup *self
,ListallerIPKInstallMode mode
); ListallerIPKInstallMode listaller_setup_get_install_mode (ListallerSetup *self
); gboolean listaller_setup_initialize (ListallerSetup *self
); ListallerAppItem * listaller_setup_get_current_application (ListallerSetup *self
); void listaller_setup_kill_installation_process (ListallerSetup *self
); gchar * listaller_setup_get_replaced_native_packs (ListallerSetup *self
); gboolean listaller_setup_run_installation (ListallerSetup *self
); ListallerIPKSecurityInfo * listaller_setup_get_security_info (ListallerSetup *self
); ListallerSetup * listaller_setup_new (const gchar *ipkfilename
); const gchar * listaller_setup_get_fname (ListallerSetup *self
); ListallerSetupSettings * listaller_setup_get_settings (ListallerSetup *self
); ListallerIPKControl * listaller_setup_get_control (ListallerSetup *self
); struct ListallerSetup; struct ListallerSetupClass;
"control" ListallerIPKControl* : Read "fname" gchar* : Read "settings" ListallerSetupSettings* : Read
This class handles all stuff required to install an application. All methods are syncronous right now.
#define LISTALLER_TYPE_SETUP (listaller_setup_get_type ())
The type for ListallerSetup.
ListallerIPKInstallMode listaller_setup_supported_install_modes
(ListallerSetup *self
);
|
the ListallerSetup instance |
gboolean listaller_setup_set_install_mode (ListallerSetup *self
,ListallerIPKInstallMode mode
);
|
the ListallerSetup instance |
|
ListallerIPKInstallMode listaller_setup_get_install_mode
(ListallerSetup *self
);
|
the ListallerSetup instance |
gboolean listaller_setup_initialize (ListallerSetup *self
);
|
the ListallerSetup instance |
ListallerAppItem * listaller_setup_get_current_application
(ListallerSetup *self
);
|
the ListallerSetup instance |
void listaller_setup_kill_installation_process
(ListallerSetup *self
);
Forcibly kills a running installation process. You should never use this method, it might only be useful in command-line applications, where you can catch an interrupt signal and tell the running setup about it. It might be used on mobile devices if a setup is running and the device is running out of power. (but best way in that case would be to prevent an installation in the first place, if there is not enough energy left) This function does some emergency cleanup and tries to make sure that nothing gets corrupted.
|
the ListallerSetup instance |
gchar * listaller_setup_get_replaced_native_packs
(ListallerSetup *self
);
Check if there are native packages providing the same functionality
Software packages can declare a "replaces" element, showing which native componants become obsolete if their 3rd-party app gets installed. E.g. Firefox could declare a replacement of "/usr/bin/firefox", so the user gets hinted to maybe remove the native package. This feature is optional, and Listaller won't perform any removal actions! This function will fail if the user did not request a shared installation.
|
the ListallerSetup instance |
Returns : |
List of replaces package-ids, separated by newlines or NULL if no replacement was declared. |
gboolean listaller_setup_run_installation (ListallerSetup *self
);
Execute software installation
|
the ListallerSetup instance |
Returns : |
Success of the operation (if FALSE, an error was emitted) |
ListallerIPKSecurityInfo * listaller_setup_get_security_info
(ListallerSetup *self
);
|
the ListallerSetup instance |
ListallerSetup * listaller_setup_new (const gchar *ipkfilename
);
|
const gchar * listaller_setup_get_fname (ListallerSetup *self
);
Get and return the current value of the "fname" property.
|
the ListallerSetup instance to query |
Returns : |
the value of the "fname" property |
ListallerSetupSettings * listaller_setup_get_settings (ListallerSetup *self
);
Get and return the current value of the "settings" property.
|
the ListallerSetup instance to query |
Returns : |
the value of the "settings" property |
ListallerIPKControl * listaller_setup_get_control (ListallerSetup *self
);
Get and return the current value of the "control" property.
|
the ListallerSetup instance to query |
Returns : |
the value of the "control" property |
struct ListallerSetup;
Performs the installation of an IPK package
This class handles all stuff required to install an application. All methods are syncronous right now.
struct ListallerSetupClass { ListallerMessageObjectClass parent_class; };
The class structure for LISTALLER_TYPE_SETUP
. All the fields in this structure are private and should never be accessed directly.
ListallerMessageObjectClass |
the parent class structure |
"status-changed"
signalvoid user_function (ListallerSetup *setup,
ListallerStatusItem *status,
gpointer user_data) : Run Last
|
the ListallerSetup instance that received the signal |
|
|
|
user data set when the signal handler was connected. |