Top | ![]() |
![]() |
![]() |
![]() |
ListallerIPKControl * | control | Read |
gchar * | fname | Read |
ListallerSetupSettings * | settings | 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
);
gboolean listaller_setup_set_install_mode (ListallerSetup *self
,ListallerIPKInstallMode mode
);
ListallerIPKInstallMode
listaller_setup_get_install_mode (ListallerSetup *self
);
ListallerAppItem *
listaller_setup_get_current_application
(ListallerSetup *self
);
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.
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.
gboolean
listaller_setup_run_installation (ListallerSetup *self
);
Execute software installation
ListallerIPKSecurityInfo *
listaller_setup_get_security_info (ListallerSetup *self
);
const gchar *
listaller_setup_get_fname (ListallerSetup *self
);
Get and return the current value of the "fname" property.
ListallerSetupSettings *
listaller_setup_get_settings (ListallerSetup *self
);
Get and return the current value of the "settings" property.
ListallerIPKControl *
listaller_setup_get_control (ListallerSetup *self
);
Get and return the current 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.
“status-changed”
signalvoid user_function (ListallerSetup *setup, ListallerStatusItem *status, gpointer user_data)
setup |
the ListallerSetup instance that received the signal |
|
status |
|
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last