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>
5
* Carlos Diógenes 2007 <cerdiogenes@gmail.com>
7
* cairo-compmgr is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
12
* cairo-compmgr is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with cairo-compmgr. If not, write to:
19
* The Free Software Foundation, Inc.,
20
* 51 Franklin Street, Fifth Floor
21
* Boston, MA 02110-1301, USA.
24
#ifndef _CCM_MAGNIFIER_H_
25
#define _CCM_MAGNIFIER_H_
27
#include <glib-object.h>
30
#include "ccm-plugin.h"
31
#include "ccm-window-plugin.h"
32
#include "ccm-screen-plugin.h"
36
#define CCM_TYPE_MAGNIFIER (ccm_magnifier_get_type ())
37
#define CCM_MAGNIFIER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CCM_TYPE_MAGNIFIER, CCMMagnifier))
38
#define CCM_MAGNIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CCM_TYPE_MAGNIFIER, CCMMagnifierClass))
39
#define CCM_IS_MAGNIFIER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CCM_TYPE_MAGNIFIER))
40
#define CCM_IS_MAGNIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CCM_TYPE_MAGNIFIER))
41
#define CCM_MAGNIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CCM_TYPE_MAGNIFIER, CCMMagnifierClass))
43
typedef struct _CCMMagnifierClass CCMMagnifierClass;
44
typedef struct _CCMMagnifier CCMMagnifier;
46
struct _CCMMagnifierClass
48
CCMPluginClass parent_class;
51
typedef struct _CCMMagnifierPrivate CCMMagnifierPrivate;
55
CCMPlugin parent_instance;
57
CCMMagnifierPrivate *priv;
60
GType ccm_magnifier_get_type (void) G_GNUC_CONST;
64
#endif /* _CCM_MAGNIFIER_H_ */