| Top |
This class allows managing installed applications as well as performing maintainance tasks to keep applications running. It also allows fetching applications from remote sources.
#define LISTALLER_TYPE_MANAGER (listaller_manager_get_type ())
The type for ListallerManager.
gboolean listaller_manager_filter_applications (ListallerManager *self,ListallerAppState filter,GeeArrayList **app_list);
gboolean listaller_manager_find_applications_by_values (ListallerManager *self,const gchar *filter,gchar **values,GeeArrayList **appList);
Find applications which match the strings in values
self |
the ListallerManager instance |
|
filter |
. Filter, which is applied on the results. |
[in] |
values |
. Null-terminated list of strings to search for. |
[in][array length=values_length1] |
values_length1 |
length of the |
|
appList |
. ArrayList of AppItems to store the result, or NULL (all applications are also emitted in the "application" signal). |
[out] |
GeeArrayList * listaller_manager_get_applications_by_fullname (ListallerManager *self,const gchar *full_name);
ListallerAppItem * listaller_manager_get_application_by_unique_name (ListallerManager *self,const gchar *idname);
gboolean listaller_manager_remove_application (ListallerManager *self,ListallerAppItem *app);
gboolean listaller_manager_refresh_appitem_data (ListallerManager *self,ListallerAppItem **item);
gchar ** listaller_manager_get_application_filelist (ListallerManager *self,ListallerAppItem *app);
gchar * listaller_manager_get_app_ld_environment (ListallerManager *self,ListallerAppItem *app);
Get the LD_LIBRARY_PATH environment for an application.
self |
the ListallerManager instance |
|
app |
. AppItem belonging to an Listaller-installed app. |
[in] |
gboolean
listaller_manager_refresh_repository_cache
(ListallerManager *self);
Update the 3rd-party remote application cache. This will allow querying for new updates.
ListallerSetup * listaller_manager_prepare_setup_for_app (ListallerManager *self,const gchar *app_idname);
ListallerManager *
listaller_manager_new (gboolean shared_mode);
Create a new Listaller application manager
ListallerSetupSettings *
listaller_manager_get_settings (ListallerManager *self);
Get and return the current value of the "settings" property.
struct ListallerManager;
Allows managing Listaller applications
This class allows managing installed applications as well as performing maintainance tasks to keep applications running. It also allows fetching applications from remote sources.
struct ListallerManagerClass {
ListallerMessageObjectClass parent_class;
};
The class structure for LISTALLER_TYPE_MANAGER. All the fields in this structure are private and should never be accessed directly.
“application” signalvoid user_function (ListallerManager *manager, ListallerAppItem *appid, gpointer user_data)
manager |
the ListallerManager instance that received the signal |
|
appid |
|
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“status-changed” signalvoid user_function (ListallerManager *manager, ListallerStatusItem *status, gpointer user_data)
manager |
the ListallerManager instance that received the signal |
|
status |
|
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last