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 | #include <gnome.h> |
---|
28 | |
---|
29 | #ifdef __cplusplus |
---|
30 | extern "C" { |
---|
31 | #pragma } |
---|
32 | #endif /* __cplusplus */ |
---|
33 | |
---|
34 | #define E_TYPE_PILOT_SETTINGS (e_pilot_settings_get_type ()) |
---|
35 | #define E_PILOT_SETTINGS(obj) (GTK_CHECK_CAST ((obj), E_TYPE_PILOT_SETTINGS, EPilotSettings)) |
---|
36 | #define E_PILOT_SETTINGS_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_PILOT_SETTINGS, EPilotSettingsClass)) |
---|
37 | #define E_IS_PILOT_SETTINGS(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_PILOT_SETTINGS)) |
---|
38 | #define E_IS_PILOT_SETTINGS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_PILOT_SETTINGS)) |
---|
39 | |
---|
40 | |
---|
41 | typedef struct _EPilotSettings EPilotSettings; |
---|
42 | typedef struct _EPilotSettingsPrivate EPilotSettingsPrivate; |
---|
43 | typedef struct _EPilotSettingsClass EPilotSettingsClass; |
---|
44 | |
---|
45 | #define E_PILOT_SETTINGS_TABLE_ROWS 2 |
---|
46 | #define E_PILOT_SETTINGS_TABLE_COLS 2 |
---|
47 | |
---|
48 | struct _EPilotSettings { |
---|
49 | GtkTable parent; |
---|
50 | |
---|
51 | EPilotSettingsPrivate *priv; |
---|
52 | }; |
---|
53 | |
---|
54 | struct _EPilotSettingsClass { |
---|
55 | GtkTableClass parent_class; |
---|
56 | }; |
---|
57 | |
---|
58 | |
---|
59 | GtkType e_pilot_settings_get_type (void); |
---|
60 | GtkWidget *e_pilot_settings_new (void); |
---|
61 | |
---|
62 | gboolean e_pilot_settings_get_secret (EPilotSettings *ps); |
---|
63 | void e_pilot_settings_set_secret (EPilotSettings *ps, gboolean secret); |
---|
64 | |
---|
65 | #ifdef __cplusplus |
---|
66 | } |
---|
67 | #endif /* __cplusplus */ |
---|
68 | |
---|
69 | #endif /* _E_PILOT_SETTINGS_H_ */ |
---|