Top |
#define | LI_TYPE_MANAGER |
GQuark | li_manager_error_quark () |
LiManager * | li_manager_new () |
GPtrArray * | li_manager_get_software_list () |
GPtrArray * | li_manager_get_installed_runtimes () |
LiPkgInfo * | li_manager_get_software_by_pkid () |
LiRuntime * | li_manager_find_runtime_with_members () |
gboolean | li_manager_remove_software () |
gboolean | li_manager_package_is_installed () |
gboolean | li_manager_cleanup () |
void | li_manager_trust_key () |
void | li_manager_trust_key_file () |
void | li_manager_refresh_cache () |
void | li_manager_refresh_keyring () |
GList * | li_manager_get_update_list () |
gboolean | li_manager_update_all () |
gboolean | li_manager_update () |
LiUpdateItem * | li_manager_get_update_for_id () |
GPtrArray * li_manager_get_software_list (LiManager *mgr
,GError **error
);
GPtrArray *
li_manager_get_installed_runtimes (LiManager *mgr
);
LiPkgInfo * li_manager_get_software_by_pkid (LiManager *mgr
,const gchar *pkid
,GError **error
);
LiRuntime * li_manager_find_runtime_with_members (LiManager *mgr
,GPtrArray *members
);
Get an installed runtime which contains the specified members.
If none is available, NULL
is returned.
The resulting runtime needs to be unref'ed with g_object_unref()
if it is no longer needed.
mgr |
An instance of LiManager |
|
members |
Software components which should be present in the runtime. |
[element-type LiPkgInfo] |
gboolean li_manager_remove_software (LiManager *mgr
,const gchar *pkgid
,GError **error
);
gboolean li_manager_package_is_installed (LiManager *mgr
,LiPkgInfo *pki
);
Test if package is installed.
gboolean li_manager_cleanup (LiManager *mgr
,GError **error
);
Remove unnecessary software. Limba automatically determines whether software is still needed. Only software which has been explicitly installed is kept, anything else will be automatically cleaned as soon as nothing needs it anymore. The cleanup routine will remove faded bundles, so it is recommended to runt it when to Limba-installed app is still in use. By default, cleanup happens when the system is shutting down.
void li_manager_trust_key (LiManager *mgr
,const gchar *fpr
,GError **error
);
Download a PGP key and add it to the database of trusted keys.
void li_manager_trust_key_file (LiManager *mgr
,const gchar *fname
,GError **error
);
Download a PGP key and add it to the database of trusted keys.
void li_manager_refresh_cache (LiManager *mgr
,GError **error
);
Refresh the cache of available packages.
void li_manager_refresh_keyring (LiManager *mgr
,GError **error
);
Look for new trusted keys and update the keyring.
GList * li_manager_get_update_list (LiManager *mgr
,GError **error
);
Get a list of available updates for the installed software.
A list of LiUpdateItem describing the potential updates. Free with g_list_free()
.
[transfer full][element-type LiUpdateItem]
gboolean li_manager_update_all (LiManager *mgr
,GError **error
);
Upgrade all Limba packages.
gboolean li_manager_update (LiManager *mgr
,LiUpdateItem *uitem
,GError **error
);
Update a single package.
LiUpdateItem * li_manager_get_update_for_id (LiManager *mgr
,const gchar *pkid
,GError **error
);
Get the LiUpdateItem which represents an update of the package given by the pkid parameter.
“progress”
signalvoid user_function (LiManager *limanager, guint arg1, gpointer arg2, gpointer user_data)
limanager |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last