2
* Copyright 2011 Inclusive Design Research Centre, OCAD University.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2.1 of the License, or (at your
7
* option) any later version.
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
* Author: Joseph Scheuhammer <clown@alum.mit.edu>
21
#ifndef _ZOOM_OPTIONS_H
22
#define _ZOOM_OPTIONS_H
24
#include <glib-object.h>
29
typedef struct _ZoomOptions ZoomOptions;
30
typedef struct _ZoomOptionsClass ZoomOptionsClass;
31
typedef struct _ZoomOptionsPrivate ZoomOptionsPrivate;
33
#define ZOOM_TYPE_OPTIONS (zoom_options_get_type ())
35
#define ZOOM_OPTIONS(obj) \
36
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
37
ZOOM_TYPE_OPTIONS, ZoomOptions))
39
#define ZOOM_OPTIONS_CLASS(klass) \
40
(G_TYPE_CHECK_CLASS_CAST ((klass), \
41
ZOOM_TYPE_OPTIONS, ZoomOptionsClass))
43
#define ZOOM_IS_OPTIONS(obj) \
44
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
47
#define ZOOM_IS_OPTIONS_CLASS(klass) \
48
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
51
#define ZOOM_OPTIONS_GET_CLASS(obj) \
52
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
53
ZOOM_TYPE_OPTIONS, ZoomOptionsClass))
55
struct _ZoomOptionsClass
57
GObjectClass parent_class;
64
ZoomOptionsPrivate *priv;
67
GType zoom_options_get_type (void) G_GNUC_CONST;
69
ZoomOptions *zoom_options_new (void);
70
void zoom_options_set_parent (ZoomOptions *self,
75
#endif /* _ZOOM_OPTIONS_H */