~larryprice/libertine/recurse-apps-dir

« back to all changes in this revision

Viewing changes to liblibertine/libertine.h

  • Committer: Larry Price
  • Date: 2016-08-02 16:50:18 UTC
  • Revision ID: larry.price@canonical.com-20160802165018-0hpto8pyp9u5e01l
Add liblibertine method to find app desktop files

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
/**
26
26
 * libertine_list_containers:
27
 
 * 
 
27
 *
28
28
 * Gets the list of existing containers for the user.
29
29
 *
30
30
 * Return value: (transfer full): A NULL terminated list of
68
68
/**
69
69
 * libertine_list_apps_for_container:
70
70
 * @container_id: ID of the container
71
 
 * 
 
71
 *
72
72
 * Gets the list of existing apps installed in a container.
73
73
 *
74
74
 * Return value: (transfer full): A NULL terminated list of
76
76
 */
77
77
gchar ** libertine_list_apps_for_container(const gchar * container_id);
78
78
 
 
79
/**
 
80
 * libertine_app_info:
 
81
 * @app_id: ID of the application
 
82
 * @container_id: ID of the container
 
83
 *
 
84
 * Finds desktop file for given application.
 
85
 *
 
86
 * Return value: Desktop file for matched app, NULL if no application  found.
 
87
 */
 
88
gchar* libertine_find_desktop(const gchar* app_id, const gchar* container_id);
 
89
 
79
90
#ifdef __cplusplus
80
91
}
81
92
#endif