1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* evolution-config-control.h |
---|
3 | * |
---|
4 | * Copyright (C) 2002 Ximian, Inc. |
---|
5 | * |
---|
6 | * This program is free software; you can redistribute it and/or |
---|
7 | * modify it under the terms of version 2 of the GNU General Public |
---|
8 | * License as published by the Free Software Foundation. |
---|
9 | * |
---|
10 | * This program 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 | * General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU General Public |
---|
16 | * License along with this program; if not, write to the |
---|
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
18 | * Boston, MA 02111-1307, USA. |
---|
19 | * |
---|
20 | * Author: Ettore Perazzoli |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef EVOLUTION_CONFIG_CONTROL_H |
---|
24 | #define EVOLUTION_CONFIG_CONTROL_H |
---|
25 | |
---|
26 | #include "Evolution.h" |
---|
27 | |
---|
28 | #include <bonobo/bonobo-xobject.h> |
---|
29 | #include <gtk/gtkwidget.h> |
---|
30 | |
---|
31 | #ifdef cplusplus |
---|
32 | extern "C" { |
---|
33 | #pragma } |
---|
34 | #endif /* cplusplus */ |
---|
35 | |
---|
36 | #define EVOLUTION_TYPE_CONFIG_CONTROL (evolution_config_control_get_type ()) |
---|
37 | #define EVOLUTION_CONFIG_CONTROL(obj) (GTK_CHECK_CAST ((obj), EVOLUTION_TYPE_CONFIG_CONTROL, EvolutionConfigControl)) |
---|
38 | #define EVOLUTION_CONFIG_CONTROL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), EVOLUTION_TYPE_CONFIG_CONTROL, EvolutionConfigControlClass)) |
---|
39 | #define EVOLUTION_IS_CONFIG_CONTROL(obj) (GTK_CHECK_TYPE ((obj), EVOLUTION_TYPE_CONFIG_CONTROL)) |
---|
40 | #define EVOLUTION_IS_CONFIG_CONTROL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), EVOLUTION_TYPE_CONFIG_CONTROL)) |
---|
41 | |
---|
42 | typedef struct _EvolutionConfigControl EvolutionConfigControl; |
---|
43 | typedef struct _EvolutionConfigControlPrivate EvolutionConfigControlPrivate; |
---|
44 | typedef struct _EvolutionConfigControlClass EvolutionConfigControlClass; |
---|
45 | |
---|
46 | struct _EvolutionConfigControl { |
---|
47 | BonoboXObject parent; |
---|
48 | |
---|
49 | EvolutionConfigControlPrivate *priv; |
---|
50 | }; |
---|
51 | |
---|
52 | struct _EvolutionConfigControlClass { |
---|
53 | BonoboXObjectClass parent_class; |
---|
54 | |
---|
55 | POA_GNOME_Evolution_ConfigControl__epv epv; |
---|
56 | |
---|
57 | /* Signals. */ |
---|
58 | |
---|
59 | void (* apply) (EvolutionConfigControl *control); |
---|
60 | }; |
---|
61 | |
---|
62 | |
---|
63 | GtkType evolution_config_control_get_type (void); |
---|
64 | EvolutionConfigControl *evolution_config_control_new (GtkWidget *widget); |
---|
65 | void evolution_config_control_construct (EvolutionConfigControl *control, |
---|
66 | GtkWidget *widget); |
---|
67 | |
---|
68 | void evolution_config_control_changed (EvolutionConfigControl *config_control); |
---|
69 | |
---|
70 | #endif /* EVOLUTION_CONFIG_CONTROL_H */ |
---|