1
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
4
* Copyright (C) Nicolas Bruguier 2007-2010 <gandalfn@club-internet.fr>
6
* cairo-compmgr is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
11
* cairo-compmgr is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with cairo-compmgr. If not, write to:
18
* The Free Software Foundation, Inc.,
19
* 51 Franklin Street, Fifth Floor
20
* Boston, MA 02110-1301, USA.
23
#ifndef _CCM_FREEZE_H_
24
#define _CCM_FREEZE_H_
26
#include <glib-object.h>
29
#include "ccm-plugin.h"
30
#include "ccm-window-plugin.h"
34
#define CCM_TYPE_FREEZE (ccm_freeze_get_type ())
35
#define CCM_FREEZE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CCM_TYPE_FREEZE, CCMFreeze))
36
#define CCM_FREEZE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CCM_TYPE_FREEZE, CCMFreezeClass))
37
#define CCM_IS_FREEZE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CCM_TYPE_FREEZE))
38
#define CCM_IS_FREEZE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CCM_TYPE_FREEZE))
39
#define CCM_FREEZE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CCM_TYPE_FREEZE, CCMFreezeClass))
41
typedef struct _CCMFreezeClass CCMFreezeClass;
42
typedef struct _CCMFreeze CCMFreeze;
44
struct _CCMFreezeClass
46
CCMPluginClass parent_class;
49
typedef struct _CCMFreezePrivate CCMFreezePrivate;
53
CCMPlugin parent_instance;
55
CCMFreezePrivate *priv;
58
GType ccm_freeze_get_type (void) G_GNUC_CONST;
62
#endif /* _CCM_FREEZE_H_ */