1
/* Generated by GOB (v1.0.10) (do not edit directly) */
5
#ifndef __GNOME_PILOT_CONDUIT_CONFIG_H__
6
#define __GNOME_PILOT_CONDUIT_CONFIG_H__
10
#endif /* __cplusplus */
15
#include <gtk/gtkobject.h>
16
#include <gpilotd/gnome-pilot-conduit.h>
17
#include <libgpilotdCM/gnome-pilot-conduit-management.h>
22
* Type checking and casting macros
24
#define GNOME_TYPE_PILOT_CONDUIT_CONFIG (gnome_pilot_conduit_config_get_type())
25
#define GNOME_PILOT_CONDUIT_CONFIG(obj) GTK_CHECK_CAST((obj), gnome_pilot_conduit_config_get_type(), GnomePilotConduitConfig)
26
#define GNOME_PILOT_CONDUIT_CONFIG_CONST(obj) GTK_CHECK_CAST((obj), gnome_pilot_conduit_config_get_type(), GnomePilotConduitConfig const)
27
#define GNOME_PILOT_CONDUIT_CONFIG_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), gnome_pilot_conduit_config_get_type(), GnomePilotConduitConfigClass)
28
#define GNOME_IS_PILOT_CONDUIT_CONFIG(obj) GTK_CHECK_TYPE((obj), gnome_pilot_conduit_config_get_type ())
30
#ifdef GTK_CHECK_GET_CLASS
31
#define GNOME_PILOT_CONDUIT_CONFIG_GET_CLASS(obj) GTK_CHECK_GET_CLASS((obj), gnome_pilot_conduit_config_get_type(), GnomePilotConduitConfigClass)
32
#else /* !GTK_CHECK_GET_CLASS */
33
#define GNOME_PILOT_CONDUIT_CONFIG_GET_CLASS(obj) ((GnomePilotConduitConfigClass *)GTK_OBJECT(obj)->klass)
34
#endif /* GTK_CHECK_GET_CLASS */
36
/* Private structure type */
37
typedef struct _GnomePilotConduitConfigPrivate GnomePilotConduitConfigPrivate;
40
* Main object structure
42
#ifndef __TYPEDEF_GNOME_PILOT_CONDUIT_CONFIG__
43
#define __TYPEDEF_GNOME_PILOT_CONDUIT_CONFIG__
44
typedef struct _GnomePilotConduitConfig GnomePilotConduitConfig;
46
struct _GnomePilotConduitConfig {
49
GnomePilotConduitSyncType sync_type;
50
GnomePilotConduitSyncType first_sync_type;
53
GnomePilotConduitConfigPrivate *_priv;
59
typedef struct _GnomePilotConduitConfigClass GnomePilotConduitConfigClass;
60
struct _GnomePilotConduitConfigClass {
61
GtkObjectClass __parent__;
68
GtkType gnome_pilot_conduit_config_get_type (void) G_GNUC_CONST;
69
GnomePilotConduitConfig * gnome_pilot_conduit_config_new (GnomePilotConduitManagement * gpcm,
71
void gnome_pilot_conduit_config_destroy (GnomePilotConduitConfig * self);
72
int gnome_pilot_conduit_config_load_config (GnomePilotConduitConfig * self);
73
int gnome_pilot_conduit_config_save_config (GnomePilotConduitConfig * self);
74
gboolean gnome_pilot_conduit_config_is_enabled (GnomePilotConduitConfig * self,
75
GnomePilotConduitSyncType * sync_type);
76
void gnome_pilot_conduit_config_enable (GnomePilotConduitConfig * self,
77
GnomePilotConduitSyncType sync_type);
78
void gnome_pilot_conduit_config_enable_with_first_sync (GnomePilotConduitConfig * self,
79
GnomePilotConduitSyncType sync_type,
80
GnomePilotConduitSyncType first_sync_type,
82
void gnome_pilot_conduit_config_remove_first_sync (GnomePilotConduitConfig * self);
83
void gnome_pilot_conduit_config_disable (GnomePilotConduitConfig * self);
87
#endif /* __cplusplus */