2
* Copyright (C) 2008 Canonical Ltd
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
19
* Authored by Neil Jagdish Patel <neil.patel@canonical.com>
23
#ifndef _LAUNCHER_WM_H_
24
#define _LAUNCHER_WM_H_
26
#include <glib-object.h>
28
#include <libwnck/libwnck.h>
30
#define LAUNCHER_TYPE_WM (launcher_wm_get_type ())
32
#define LAUNCHER_WM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
33
LAUNCHER_TYPE_WM, LauncherWm))
35
#define LAUNCHER_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
36
LAUNCHER_TYPE_WM, LauncherWmClass))
38
#define LAUNCHER_IS_WM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
41
#define LAUNCHER_IS_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\
44
#define LAUNCHER_WM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\
45
LAUNCHER_TYPE_WM, LauncherWmClass))
47
typedef struct _LauncherWm LauncherWm;
48
typedef struct _LauncherWmClass LauncherWmClass;
49
typedef struct _LauncherWmPrivate LauncherWmPrivate;
55
LauncherWmPrivate *priv;
58
struct _LauncherWmClass
60
GObjectClass parent_class;
63
void (*show_windec) (LauncherWm *wm, WnckWindow *window);
64
void (*hide_windec) (LauncherWm *wm);
67
GType launcher_wm_get_type (void) G_GNUC_CONST;
69
LauncherWm * launcher_wm_get_default (void);
72
#endif /* _LAUNCHER_WM_H_ */