]> git.pld-linux.org Git - packages/evolution.git/blob - evolution-e-pilot-settings.h
- missing files
[packages/evolution.git] / evolution-e-pilot-settings.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-pilot-settings.h
3  *
4  * Copyright (C) 2001  JP Rosevear
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  *
21  * Author: JP Rosevear
22  */
23
24 #ifndef _E_PILOT_SETTINGS_H_
25 #define _E_PILOT_SETTINGS_H_
26
27 #ifdef HAVE_CONFIG_H
28 #include <config.h>
29 #endif
30
31 #include <libedataserver/e-source-list.h>
32 #include <gtk/gtk.h>
33
34 G_BEGIN_DECLS
35
36 #define E_TYPE_PILOT_SETTINGS                   (e_pilot_settings_get_type ())
37 #define E_PILOT_SETTINGS(obj)                   (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_PILOT_SETTINGS, EPilotSettings))
38 #define E_PILOT_SETTINGS_CLASS(klass)           (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_PILOT_SETTINGS, EPilotSettingsClass))
39 #define E_IS_PILOT_SETTINGS(obj)                (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_PILOT_SETTINGS))
40 #define E_IS_PILOT_SETTINGS_CLASS(klass)        (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_PILOT_SETTINGS))
41
42 \f
43 typedef struct _EPilotSettings        EPilotSettings;
44 typedef struct _EPilotSettingsPrivate EPilotSettingsPrivate;
45 typedef struct _EPilotSettingsClass   EPilotSettingsClass;
46
47 #define E_PILOT_SETTINGS_TABLE_ROWS 3
48 #define E_PILOT_SETTINGS_TABLE_COLS 3
49
50 struct _EPilotSettings {
51         GtkTable parent;
52
53         EPilotSettingsPrivate *priv;
54 };
55
56 struct _EPilotSettingsClass {
57         GtkTableClass parent_class;
58 };
59
60 \f
61 GType      e_pilot_settings_get_type (void);
62 GtkWidget *e_pilot_settings_new      (ESourceList *source_list);
63
64 ESource *e_pilot_settings_get_source (EPilotSettings *ps);
65 void e_pilot_settings_set_source (EPilotSettings *ps, ESource *source);
66
67 gboolean e_pilot_settings_get_secret (EPilotSettings *ps);
68 void e_pilot_settings_set_secret (EPilotSettings *ps, gboolean secret);
69
70 G_END_DECLS
71
72 #endif
This page took 0.041372 seconds and 3 git commands to generate.