shell-app-system.h: clean up (indentation, order, etc)
https://bugzilla.gnome.org/show_bug.cgi?id=635089
This commit is contained in:
parent
9ddf19a1a4
commit
b919dd7271
@ -34,63 +34,69 @@ struct _ShellAppSystemClass
|
|||||||
void (*favorites_changed)(ShellAppSystem *appsys, gpointer user_data);
|
void (*favorites_changed)(ShellAppSystem *appsys, gpointer user_data);
|
||||||
};
|
};
|
||||||
|
|
||||||
GType shell_app_system_get_type (void) G_GNUC_CONST;
|
GType shell_app_system_get_type (void) G_GNUC_CONST;
|
||||||
ShellAppSystem* shell_app_system_get_default(void);
|
ShellAppSystem *shell_app_system_get_default (void);
|
||||||
|
|
||||||
typedef struct _ShellAppInfo ShellAppInfo;
|
typedef struct _ShellAppInfo ShellAppInfo;
|
||||||
|
|
||||||
#define SHELL_TYPE_APP_INFO (shell_app_info_get_type ())
|
#define SHELL_TYPE_APP_INFO (shell_app_info_get_type ())
|
||||||
GType shell_app_info_get_type (void);
|
GType shell_app_info_get_type (void);
|
||||||
|
|
||||||
ShellAppInfo* shell_app_info_ref (ShellAppInfo *info);
|
ShellAppInfo *shell_app_info_ref (ShellAppInfo *info);
|
||||||
void shell_app_info_unref (ShellAppInfo *info);
|
void shell_app_info_unref (ShellAppInfo *info);
|
||||||
|
|
||||||
const char *shell_app_info_get_id (ShellAppInfo *info);
|
const char *shell_app_info_get_id (ShellAppInfo *info);
|
||||||
char *shell_app_info_get_name (ShellAppInfo *info);
|
char *shell_app_info_get_name (ShellAppInfo *info);
|
||||||
char *shell_app_info_get_description (ShellAppInfo *info);
|
char *shell_app_info_get_description (ShellAppInfo *info);
|
||||||
char *shell_app_info_get_executable (ShellAppInfo *info);
|
char *shell_app_info_get_executable (ShellAppInfo *info);
|
||||||
char *shell_app_info_get_desktop_file_path (ShellAppInfo *info);
|
char *shell_app_info_get_desktop_file_path (ShellAppInfo *info);
|
||||||
GIcon *shell_app_info_get_icon (ShellAppInfo *info);
|
GIcon *shell_app_info_get_icon (ShellAppInfo *info);
|
||||||
ClutterActor *shell_app_info_create_icon_texture (ShellAppInfo *info, float size);
|
ClutterActor *shell_app_info_create_icon_texture (ShellAppInfo *info,
|
||||||
char *shell_app_info_get_section (ShellAppInfo *info);
|
float size);
|
||||||
gboolean shell_app_info_get_is_nodisplay (ShellAppInfo *info);
|
char *shell_app_info_get_section (ShellAppInfo *info);
|
||||||
gboolean shell_app_info_is_transient (ShellAppInfo *info);
|
gboolean shell_app_info_get_is_nodisplay (ShellAppInfo *info);
|
||||||
|
gboolean shell_app_info_is_transient (ShellAppInfo *info);
|
||||||
|
MetaWindow *shell_app_info_get_source_window (ShellAppInfo *info);
|
||||||
|
|
||||||
MetaWindow *shell_app_info_get_source_window (ShellAppInfo *info);
|
gboolean shell_app_info_launch (ShellAppInfo *info,
|
||||||
|
GError **error);
|
||||||
|
gboolean shell_app_info_launch_full (ShellAppInfo *info,
|
||||||
|
guint timestamp,
|
||||||
|
GList *uris,
|
||||||
|
int workspace,
|
||||||
|
char **startup_id,
|
||||||
|
GError **error);
|
||||||
|
|
||||||
gboolean shell_app_info_launch_full (ShellAppInfo *info,
|
|
||||||
guint timestamp,
|
|
||||||
GList *uris,
|
|
||||||
int workspace,
|
|
||||||
char **startup_id,
|
|
||||||
GError **error);
|
|
||||||
gboolean shell_app_info_launch (ShellAppInfo *info,
|
|
||||||
GError **error);
|
|
||||||
|
|
||||||
ShellAppInfo *shell_app_system_load_from_desktop_file (ShellAppSystem *system, const char *filename, GError **error);
|
GList *shell_app_system_get_sections (ShellAppSystem *system);
|
||||||
|
GSList *shell_app_system_get_flattened_apps (ShellAppSystem *system);
|
||||||
|
GSList *shell_app_system_get_all_settings (ShellAppSystem *system);
|
||||||
|
|
||||||
GList *shell_app_system_get_sections (ShellAppSystem *system);
|
ShellApp *shell_app_system_get_app (ShellAppSystem *system,
|
||||||
ShellApp *shell_app_system_get_app (ShellAppSystem *system, const char *id);
|
const char *id);
|
||||||
ShellApp *shell_app_system_get_app_for_path (ShellAppSystem *system, const char *desktop_path);
|
ShellApp *shell_app_system_get_app_for_path (ShellAppSystem *system,
|
||||||
ShellApp *shell_app_system_get_app_for_window (ShellAppSystem *self, MetaWindow *window);
|
const char *desktop_path);
|
||||||
|
ShellApp *shell_app_system_get_app_for_window (ShellAppSystem *self,
|
||||||
|
MetaWindow *window);
|
||||||
|
ShellApp *shell_app_system_lookup_heuristic_basename (ShellAppSystem *system,
|
||||||
|
const char *id);
|
||||||
|
|
||||||
void _shell_app_system_register_app (ShellAppSystem *self, ShellApp *app);
|
ShellAppInfo *shell_app_system_load_from_desktop_file (ShellAppSystem *system,
|
||||||
|
const char *filename,
|
||||||
|
GError **error);
|
||||||
|
ShellAppInfo *shell_app_system_create_from_window (ShellAppSystem *system,
|
||||||
|
MetaWindow *window);
|
||||||
|
|
||||||
ShellApp *shell_app_system_lookup_heuristic_basename (ShellAppSystem *system, const char *id);
|
GSList *shell_app_system_initial_search (ShellAppSystem *system,
|
||||||
|
gboolean prefs,
|
||||||
|
GSList *terms);
|
||||||
|
GSList *shell_app_system_subsearch (ShellAppSystem *system,
|
||||||
|
gboolean prefs,
|
||||||
|
GSList *previous_results,
|
||||||
|
GSList *terms);
|
||||||
|
|
||||||
ShellAppInfo *shell_app_system_create_from_window (ShellAppSystem *system, MetaWindow *window);
|
/* internal API */
|
||||||
|
void _shell_app_system_register_app (ShellAppSystem *self,
|
||||||
GSList *shell_app_system_get_flattened_apps (ShellAppSystem *system);
|
ShellApp *app);
|
||||||
|
|
||||||
GSList *shell_app_system_get_all_settings (ShellAppSystem *system);
|
|
||||||
|
|
||||||
GSList *shell_app_system_initial_search (ShellAppSystem *system,
|
|
||||||
gboolean prefs,
|
|
||||||
GSList *terms);
|
|
||||||
|
|
||||||
GSList *shell_app_system_subsearch (ShellAppSystem *system,
|
|
||||||
gboolean prefs,
|
|
||||||
GSList *previous_results,
|
|
||||||
GSList *terms);
|
|
||||||
|
|
||||||
#endif /* __SHELL_APP_SYSTEM_H__ */
|
#endif /* __SHELL_APP_SYSTEM_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user