~shnatsel/+junk/cairo-compmgr

« back to all changes in this revision

Viewing changes to plugins/freeze/ccm-freeze.h

  • Committer: Sergey "Shnatsel" Davidoff
  • Date: 2012-03-04 22:53:22 UTC
  • Revision ID: shnatsel@gmail.com-20120304225322-q2hz82j51yxv1qqw
fixed up build dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
 
2
/*
 
3
 * cairo-compmgr
 
4
 * Copyright (C) Nicolas Bruguier 2007-2010 <gandalfn@club-internet.fr>
 
5
 * 
 
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.
 
10
 * 
 
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.
 
15
 * 
 
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.
 
21
 */
 
22
 
 
23
#ifndef _CCM_FREEZE_H_
 
24
#define _CCM_FREEZE_H_
 
25
 
 
26
#include <glib-object.h>
 
27
#include <gmodule.h>
 
28
 
 
29
#include "ccm-plugin.h"
 
30
#include "ccm-window-plugin.h"
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
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))
 
40
 
 
41
typedef struct _CCMFreezeClass CCMFreezeClass;
 
42
typedef struct _CCMFreeze CCMFreeze;
 
43
 
 
44
struct _CCMFreezeClass
 
45
{
 
46
    CCMPluginClass parent_class;
 
47
};
 
48
 
 
49
typedef struct _CCMFreezePrivate CCMFreezePrivate;
 
50
 
 
51
struct _CCMFreeze
 
52
{
 
53
    CCMPlugin parent_instance;
 
54
 
 
55
    CCMFreezePrivate *priv;
 
56
};
 
57
 
 
58
GType ccm_freeze_get_type (void) G_GNUC_CONST;
 
59
 
 
60
G_END_DECLS
 
61
 
 
62
#endif                          /* _CCM_FREEZE_H_ */