~ubuntu-branches/ubuntu/warty/gnome-pilot/warty

« back to all changes in this revision

Viewing changes to libgpilotdCM/gnome-pilot-conduit-config.h

  • Committer: Bazaar Package Importer
  • Author(s): Mike Markley
  • Date: 2001-12-15 02:46:06 UTC
  • Revision ID: james.westby@ubuntu.com-20011215024606-7xu0i6y4v6okdiij
Tags: upstream-0.1.64
ImportĀ upstreamĀ versionĀ 0.1.64

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Generated by GOB (v1.0.10)   (do not edit directly) */
 
2
 
 
3
#include <gtk/gtk.h>
 
4
 
 
5
#ifndef __GNOME_PILOT_CONDUIT_CONFIG_H__
 
6
#define __GNOME_PILOT_CONDUIT_CONFIG_H__
 
7
 
 
8
#ifdef __cplusplus
 
9
extern "C" {
 
10
#endif /* __cplusplus */
 
11
 
 
12
 
 
13
 
 
14
#include <glib.h>
 
15
#include <gtk/gtkobject.h>
 
16
#include <gpilotd/gnome-pilot-conduit.h>
 
17
#include <libgpilotdCM/gnome-pilot-conduit-management.h>
 
18
#include <gmodule.h>
 
19
 
 
20
 
 
21
/*
 
22
 * Type checking and casting macros
 
23
 */
 
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 ())
 
29
 
 
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 */
 
35
 
 
36
/* Private structure type */
 
37
typedef struct _GnomePilotConduitConfigPrivate GnomePilotConduitConfigPrivate;
 
38
 
 
39
/*
 
40
 * Main object structure
 
41
 */
 
42
#ifndef __TYPEDEF_GNOME_PILOT_CONDUIT_CONFIG__
 
43
#define __TYPEDEF_GNOME_PILOT_CONDUIT_CONFIG__
 
44
typedef struct _GnomePilotConduitConfig GnomePilotConduitConfig;
 
45
#endif
 
46
struct _GnomePilotConduitConfig {
 
47
        GtkObject __parent__;
 
48
        /*< public >*/
 
49
        GnomePilotConduitSyncType sync_type;
 
50
        GnomePilotConduitSyncType first_sync_type;
 
51
        gboolean first_slow;
 
52
        /*< private >*/
 
53
        GnomePilotConduitConfigPrivate *_priv;
 
54
};
 
55
 
 
56
/*
 
57
 * Class definition
 
58
 */
 
59
typedef struct _GnomePilotConduitConfigClass GnomePilotConduitConfigClass;
 
60
struct _GnomePilotConduitConfigClass {
 
61
        GtkObjectClass __parent__;
 
62
};
 
63
 
 
64
 
 
65
/*
 
66
 * Public methods
 
67
 */
 
68
GtkType gnome_pilot_conduit_config_get_type     (void) G_GNUC_CONST;
 
69
GnomePilotConduitConfig *       gnome_pilot_conduit_config_new  (GnomePilotConduitManagement * gpcm,
 
70
                                        guint32 pilot_id);
 
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,
 
81
                                        gboolean slow);
 
82
void    gnome_pilot_conduit_config_remove_first_sync    (GnomePilotConduitConfig * self);
 
83
void    gnome_pilot_conduit_config_disable      (GnomePilotConduitConfig * self);
 
84
 
 
85
#ifdef __cplusplus
 
86
}
 
87
#endif /* __cplusplus */
 
88
 
 
89
#endif