~cyphermox/ethos/debian

« back to all changes in this revision

Viewing changes to ethos/ethos-ui-configurable.h

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-07-27 00:48:52 UTC
  • Revision ID: mathieu-tl@ubuntu.com-20110727004852-t7bz3ye3ugttb9aq
Clean tree to get to a merge-mode package tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ethos-ui-configurable.h
2
 
 *
3
 
 * Copyright (C) 2009 Christian Hergert <chris@dronelabs.com>
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Library General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2 of the License, or (at your option) any later version.
9
 
 *
10
 
 * This library is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * Library General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Library General Public
16
 
 * License along with this library; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 
18
 
 * 02110-1301 USA
19
 
 */
20
 
 
21
 
#ifndef __ETHOS_UI_CONFIGURABLE_H__
22
 
#define __ETHOS_UI_CONFIGURABLE_H__
23
 
 
24
 
#include <glib-object.h>
25
 
#include <gtk/gtk.h>
26
 
 
27
 
G_BEGIN_DECLS
28
 
 
29
 
#define ETHOS_UI_TYPE_CONFIGURABLE (ethos_ui_configurable_get_type())
30
 
 
31
 
#define ETHOS_UI_CONFIGURABLE(obj)              \
32
 
        (G_TYPE_CHECK_INSTANCE_CAST((obj),      \
33
 
         ETHOS_UI_TYPE_CONFIGURABLE,            \
34
 
         EthosUIConfigurable))
35
 
 
36
 
#define ETHOS_UI_IS_CONFIGURABLE(obj)           \
37
 
        (G_TYPE_CHECK_INSTANCE_TYPE((obj),      \
38
 
         ETHOS_UI_TYPE_CONFIGURABLE))
39
 
 
40
 
#define ETHOS_UI_CONFIGURABLE_GET_INTERFACE(obj)\
41
 
        (G_TYPE_INSTANCE_GET_INTERFACE((obj),   \
42
 
         ETHOS_UI_TYPE_CONFIGURABLE,            \
43
 
         EthosUIConfigurableIface))
44
 
 
45
 
typedef struct _EthosUIConfigurable      EthosUIConfigurable;
46
 
typedef struct _EthosUIConfigurableIface EthosUIConfigurableIface;
47
 
 
48
 
struct _EthosUIConfigurableIface
49
 
{
50
 
        GObjectClass parent_class;
51
 
 
52
 
        void         (*configure)  (EthosUIConfigurable *configurable,
53
 
                                    GtkWidget           *parent);
54
 
 
55
 
        void         (*reserved1)  (void);
56
 
        void         (*reserved2)  (void);
57
 
        void         (*reserved3)  (void);
58
 
        void         (*reserved4)  (void);
59
 
};
60
 
 
61
 
GType                 ethos_ui_configurable_get_type  (void) G_GNUC_CONST;
62
 
void                  ethos_ui_configurable_configure (EthosUIConfigurable *configurable,
63
 
                                                       GtkWidget           *parent);
64
 
 
65
 
G_END_DECLS
66
 
 
67
 
#endif /* __ETHOS_UI_CONFIGURABLE_H__ */