294702d3f1
Cut down on boilerplate by using the (no longer that) new helper macros. We don't care about breaking ABI in private libraries, so use G_DECLARE_FINAL_TYPE even where the class struct used to be exposed in the header, except for types we inherit from ourselves (obviously) or where the class exposes any vfuncs (where changes could affect inheritance in extensions).
31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
#ifndef __SHELL_APP_SYSTEM_H__
|
|
#define __SHELL_APP_SYSTEM_H__
|
|
|
|
#include <gio/gio.h>
|
|
#include <clutter/clutter.h>
|
|
#include <meta/window.h>
|
|
|
|
#include "shell-app.h"
|
|
|
|
#define SHELL_TYPE_APP_SYSTEM (shell_app_system_get_type ())
|
|
G_DECLARE_FINAL_TYPE (ShellAppSystem, shell_app_system,
|
|
SHELL, APP_SYSTEM, GObject)
|
|
|
|
ShellAppSystem *shell_app_system_get_default (void);
|
|
|
|
ShellApp *shell_app_system_lookup_app (ShellAppSystem *system,
|
|
const char *id);
|
|
ShellApp *shell_app_system_lookup_heuristic_basename (ShellAppSystem *system,
|
|
const char *id);
|
|
|
|
ShellApp *shell_app_system_lookup_startup_wmclass (ShellAppSystem *system,
|
|
const char *wmclass);
|
|
ShellApp *shell_app_system_lookup_desktop_wmclass (ShellAppSystem *system,
|
|
const char *wmclass);
|
|
|
|
GSList *shell_app_system_get_running (ShellAppSystem *self);
|
|
char ***shell_app_system_search (const char *search_string);
|
|
|
|
#endif /* __SHELL_APP_SYSTEM_H__ */
|