add the initial framework of a window management interface. #561724
svn path=/trunk/; revision=70
This commit is contained in:
33
src/shell-wm.h
Normal file
33
src/shell-wm.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef __SHELL_WM_H__
|
||||
#define __SHELL_WM_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <mutter-plugin.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _ShellWM ShellWM;
|
||||
typedef struct _ShellWMClass ShellWMClass;
|
||||
|
||||
#define SHELL_TYPE_WM (shell_wm_get_type ())
|
||||
#define SHELL_WM(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), SHELL_TYPE_WM, ShellWM))
|
||||
#define SHELL_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHELL_TYPE_WM, ShellWMClass))
|
||||
#define SHELL_IS_WM(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), SHELL_TYPE_WM))
|
||||
#define SHELL_IS_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHELL_TYPE_WM))
|
||||
#define SHELL_WM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHELL_TYPE_WM, ShellWMClass))
|
||||
|
||||
struct _ShellWMClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
};
|
||||
|
||||
GType shell_wm_get_type (void) G_GNUC_CONST;
|
||||
|
||||
ShellWM *shell_wm_new (MutterPlugin *plugin);
|
||||
|
||||
GList *shell_wm_get_switch_workspace_actors (ShellWM *wm);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __SHELL_WM_H__ */
|
Reference in New Issue
Block a user