/* Generated by GOB (v1.0.10)   (do not edit directly) */

#include <gtk/gtk.h>

#ifndef __GNOME_PILOT_CONDUIT_STANDARD_H__
#define __GNOME_PILOT_CONDUIT_STANDARD_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */



#include <gnome.h>
#include "gnome-pilot-conduit.h"
#include "gnome-pilot-dbinfo.h"


/*
 * Type checking and casting macros
 */
#define GNOME_TYPE_PILOT_CONDUIT_STANDARD	(gnome_pilot_conduit_standard_get_type())
#define GNOME_PILOT_CONDUIT_STANDARD(obj)	GTK_CHECK_CAST((obj), gnome_pilot_conduit_standard_get_type(), GnomePilotConduitStandard)
#define GNOME_PILOT_CONDUIT_STANDARD_CONST(obj)	GTK_CHECK_CAST((obj), gnome_pilot_conduit_standard_get_type(), GnomePilotConduitStandard const)
#define GNOME_PILOT_CONDUIT_STANDARD_CLASS(klass)	GTK_CHECK_CLASS_CAST((klass), gnome_pilot_conduit_standard_get_type(), GnomePilotConduitStandardClass)
#define GNOME_IS_PILOT_CONDUIT_STANDARD(obj)	GTK_CHECK_TYPE((obj), gnome_pilot_conduit_standard_get_type ())

#ifdef GTK_CHECK_GET_CLASS
#define GNOME_PILOT_CONDUIT_STANDARD_GET_CLASS(obj)	GTK_CHECK_GET_CLASS((obj), gnome_pilot_conduit_standard_get_type(), GnomePilotConduitStandardClass)
#else /* !GTK_CHECK_GET_CLASS */
#define GNOME_PILOT_CONDUIT_STANDARD_GET_CLASS(obj)	((GnomePilotConduitStandardClass *)GTK_OBJECT(obj)->klass)
#endif /* GTK_CHECK_GET_CLASS */

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GNOME_PILOT_CONDUIT_STANDARD__
#define __TYPEDEF_GNOME_PILOT_CONDUIT_STANDARD__
typedef struct _GnomePilotConduitStandard GnomePilotConduitStandard;
#endif
struct _GnomePilotConduitStandard {
	GnomePilotConduit __parent__;
	/*< public >*/
	char * db_name;
	guint32 creator_id;
	gboolean slow;
};

/*
 * Class definition
 */
typedef struct _GnomePilotConduitStandardClass GnomePilotConduitStandardClass;
struct _GnomePilotConduitStandardClass {
	GnomePilotConduitClass __parent__;
	/*signal*/int (* copy_to_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo);
	/*signal*/int (* copy_from_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo);
	/*signal*/int (* merge_to_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo);
	/*signal*/int (* merge_from_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo);
	/*signal*/int (* synchronize) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo);
};


/*
 * Public methods
 */
GtkType	gnome_pilot_conduit_standard_get_type	(void) G_GNUC_CONST;
char * 	gnome_pilot_conduit_standard_get_db_name	(GnomePilotConduitStandard * self);
void 	gnome_pilot_conduit_standard_set_db_name	(GnomePilotConduitStandard * self,
					char * ARG);
guint32 	gnome_pilot_conduit_standard_get_creator_id	(GnomePilotConduitStandard * self);
void 	gnome_pilot_conduit_standard_set_creator_id	(GnomePilotConduitStandard * self,
					guint32 ARG);
gboolean 	gnome_pilot_conduit_standard_get_slow	(GnomePilotConduitStandard * self);
void 	gnome_pilot_conduit_standard_set_slow	(GnomePilotConduitStandard * self,
					gboolean ARG);
GtkObject * 	gnome_pilot_conduit_standard_new	(char * db_name,
					guint32 creator_id,
					GPilotPilot * pilot);
int 	gnome_pilot_conduit_standard_copy_to_pilot	(GnomePilotConduitStandard * self,
					GnomePilotDBInfo * dbinfo);
int 	gnome_pilot_conduit_standard_copy_from_pilot	(GnomePilotConduitStandard * self,
					GnomePilotDBInfo * dbinfo);
int 	gnome_pilot_conduit_standard_merge_to_pilot	(GnomePilotConduitStandard * self,
					GnomePilotDBInfo * dbinfo);
int 	gnome_pilot_conduit_standard_merge_from_pilot	(GnomePilotConduitStandard * self,
					GnomePilotDBInfo * dbinfo);
int 	gnome_pilot_conduit_standard_synchronize	(GnomePilotConduitStandard * self,
					GnomePilotDBInfo * dbinfo);

/*
 * Signal connection wrapper macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_COPY_TO_PILOT(func)	"copy_to_pilot",GTK_SIGNAL_FUNC(({int (* ___copy_to_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo, gpointer data ) = func; ___copy_to_pilot; }))
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_COPY_FROM_PILOT(func)	"copy_from_pilot",GTK_SIGNAL_FUNC(({int (* ___copy_from_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo, gpointer data ) = func; ___copy_from_pilot; }))
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_MERGE_TO_PILOT(func)	"merge_to_pilot",GTK_SIGNAL_FUNC(({int (* ___merge_to_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo, gpointer data ) = func; ___merge_to_pilot; }))
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_MERGE_FROM_PILOT(func)	"merge_from_pilot",GTK_SIGNAL_FUNC(({int (* ___merge_from_pilot) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo, gpointer data ) = func; ___merge_from_pilot; }))
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_SYNCHRONIZE(func)	"synchronize",GTK_SIGNAL_FUNC(({int (* ___synchronize) (GnomePilotConduitStandard * self, GnomePilotDBInfo * dbinfo, gpointer data ) = func; ___synchronize; }))
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_COPY_TO_PILOT(func)	"copy_to_pilot",GTK_SIGNAL_FUNC(func)
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_COPY_FROM_PILOT(func)	"copy_from_pilot",GTK_SIGNAL_FUNC(func)
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_MERGE_TO_PILOT(func)	"merge_to_pilot",GTK_SIGNAL_FUNC(func)
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_MERGE_FROM_PILOT(func)	"merge_from_pilot",GTK_SIGNAL_FUNC(func)
#define GNOME_PILOT_CONDUIT_STANDARD_SIGNAL_SYNCHRONIZE(func)	"synchronize",GTK_SIGNAL_FUNC(func)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GNOME_PILOT_CONDUIT_STANDARD_ARG_DB_NAME(arg)    	"db_name",({char * z = (arg); z;})
#define GNOME_PILOT_CONDUIT_STANDARD_GET_ARG_DB_NAME(arg)	"db_name",({char * *z = (arg); z;})
#define GNOME_PILOT_CONDUIT_STANDARD_ARG_CREATOR_ID(arg)    	"creator_id",({guint32 z = (arg); z;})
#define GNOME_PILOT_CONDUIT_STANDARD_GET_ARG_CREATOR_ID(arg)	"creator_id",({guint32 *z = (arg); z;})
#define GNOME_PILOT_CONDUIT_STANDARD_ARG_SLOW(arg)    	"slow",({gboolean z = (arg); z;})
#define GNOME_PILOT_CONDUIT_STANDARD_GET_ARG_SLOW(arg)	"slow",({gboolean *z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GNOME_PILOT_CONDUIT_STANDARD_ARG_DB_NAME(arg)    	"db_name",(char * )(arg)
#define GNOME_PILOT_CONDUIT_STANDARD_GET_ARG_DB_NAME(arg)	"db_name",(char * *)(arg)
#define GNOME_PILOT_CONDUIT_STANDARD_ARG_CREATOR_ID(arg)    	"creator_id",(guint32 )(arg)
#define GNOME_PILOT_CONDUIT_STANDARD_GET_ARG_CREATOR_ID(arg)	"creator_id",(guint32 *)(arg)
#define GNOME_PILOT_CONDUIT_STANDARD_ARG_SLOW(arg)    	"slow",(gboolean )(arg)
#define GNOME_PILOT_CONDUIT_STANDARD_GET_ARG_SLOW(arg)	"slow",(gboolean *)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif
