~ubuntu-branches/ubuntu/trusty/unity-control-center/trusty

« back to all changes in this revision

Viewing changes to panels/universal-access/zoom-options.h

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-01-08 16:29:18 UTC
  • Revision ID: package-import@ubuntu.com-20140108162918-g29dd08tr913y2qh
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2011 Inclusive Design Research Centre, OCAD University.
 
3
 *
 
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.
 
8
 *
 
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
 
12
 * for more details.
 
13
 *
 
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
 
17
 *
 
18
 * Author: Joseph Scheuhammer <clown@alum.mit.edu>
 
19
 */
 
20
 
 
21
#ifndef _ZOOM_OPTIONS_H
 
22
#define _ZOOM_OPTIONS_H
 
23
 
 
24
#include <glib-object.h>
 
25
#include <gtk/gtk.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
typedef struct _ZoomOptions                     ZoomOptions;
 
30
typedef struct _ZoomOptionsClass        ZoomOptionsClass;
 
31
typedef struct _ZoomOptionsPrivate      ZoomOptionsPrivate;
 
32
 
 
33
#define ZOOM_TYPE_OPTIONS (zoom_options_get_type ())
 
34
 
 
35
#define ZOOM_OPTIONS(obj) \
 
36
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
37
  ZOOM_TYPE_OPTIONS, ZoomOptions))
 
38
 
 
39
#define ZOOM_OPTIONS_CLASS(klass) \
 
40
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
41
  ZOOM_TYPE_OPTIONS, ZoomOptionsClass))
 
42
 
 
43
#define ZOOM_IS_OPTIONS(obj) \
 
44
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
45
  ZOOM_TYPE_OPTIONS))
 
46
 
 
47
#define ZOOM_IS_OPTIONS_CLASS(klass) \
 
48
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
49
  ZOOM_TYPE_OPTIONS))
 
50
 
 
51
#define ZOOM_OPTIONS_GET_CLASS(obj) \
 
52
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
53
  ZOOM_TYPE_OPTIONS, ZoomOptionsClass))
 
54
 
 
55
struct _ZoomOptionsClass
 
56
{
 
57
  GObjectClass parent_class;
 
58
};
 
59
 
 
60
struct _ZoomOptions
 
61
{
 
62
        GObject parent;
 
63
 
 
64
        ZoomOptionsPrivate *priv;
 
65
};
 
66
 
 
67
GType zoom_options_get_type (void) G_GNUC_CONST;
 
68
 
 
69
ZoomOptions *zoom_options_new    (void);
 
70
void zoom_options_set_parent (ZoomOptions *self,
 
71
                              GtkWindow   *parent);
 
72
 
 
73
G_END_DECLS
 
74
 
 
75
#endif /* _ZOOM_OPTIONS_H */