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

« back to all changes in this revision

Viewing changes to panels/wacom/cc-wacom-panel.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 Red Hat, Inc.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 *
 
18
 * Authors: Peter Hutterer <peter.hutterer@redhat.com>
 
19
 *          Bastien Nocera <hadess@hadess.net>
 
20
 */
 
21
 
 
22
 
 
23
#ifndef _CC_WACOM_PANEL_H
 
24
#define _CC_WACOM_PANEL_H
 
25
 
 
26
#include <shell/cc-panel.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define CC_TYPE_WACOM_PANEL cc_wacom_panel_get_type()
 
31
 
 
32
#define CC_WACOM_PANEL(obj) \
 
33
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
34
  CC_TYPE_WACOM_PANEL, CcWacomPanel))
 
35
 
 
36
#define CC_WACOM_PANEL_CLASS(klass) \
 
37
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
38
  CC_TYPE_WACOM_PANEL, CcWacomPanelClass))
 
39
 
 
40
#define CC_IS_WACOM_PANEL(obj) \
 
41
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
42
  CC_TYPE_WACOM_PANEL))
 
43
 
 
44
#define CC_IS_WACOM_PANEL_CLASS(klass) \
 
45
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
46
  CC_TYPE_WACOM_PANEL))
 
47
 
 
48
#define CC_WACOM_PANEL_GET_CLASS(obj) \
 
49
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
50
  CC_TYPE_WACOM_PANEL, CcWacomPanelClass))
 
51
 
 
52
typedef struct _CcWacomPanel CcWacomPanel;
 
53
typedef struct _CcWacomPanelClass CcWacomPanelClass;
 
54
typedef struct _CcWacomPanelPrivate CcWacomPanelPrivate;
 
55
 
 
56
struct _CcWacomPanel
 
57
{
 
58
  CcPanel parent;
 
59
 
 
60
  CcWacomPanelPrivate *priv;
 
61
};
 
62
 
 
63
struct _CcWacomPanelClass
 
64
{
 
65
  CcPanelClass parent_class;
 
66
};
 
67
 
 
68
GType cc_wacom_panel_get_type (void) G_GNUC_CONST;
 
69
 
 
70
void  cc_wacom_panel_register (GIOModule *module);
 
71
 
 
72
void  cc_wacom_panel_switch_to_panel (CcWacomPanel *self,
 
73
                                      const char   *panel);
 
74
 
 
75
G_END_DECLS
 
76
 
 
77
#endif /* _CC_WACOM_PANEL_H */