/* Generated by GOB (v1.0.10) (do not edit directly) */ #include #ifndef __GNOME_PILOT_CONDUIT_FILE_H__ #define __GNOME_PILOT_CONDUIT_FILE_H__ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include #include "gnome-pilot-conduit.h" #include "gnome-pilot-dbinfo.h" /* * Type checking and casting macros */ #define GNOME_TYPE_PILOT_CONDUIT_FILE (gnome_pilot_conduit_file_get_type()) #define GNOME_PILOT_CONDUIT_FILE(obj) GTK_CHECK_CAST((obj), gnome_pilot_conduit_file_get_type(), GnomePilotConduitFile) #define GNOME_PILOT_CONDUIT_FILE_CONST(obj) GTK_CHECK_CAST((obj), gnome_pilot_conduit_file_get_type(), GnomePilotConduitFile const) #define GNOME_PILOT_CONDUIT_FILE_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), gnome_pilot_conduit_file_get_type(), GnomePilotConduitFileClass) #define GNOME_IS_PILOT_CONDUIT_FILE(obj) GTK_CHECK_TYPE((obj), gnome_pilot_conduit_file_get_type ()) #ifdef GTK_CHECK_GET_CLASS #define GNOME_PILOT_CONDUIT_FILE_GET_CLASS(obj) GTK_CHECK_GET_CLASS((obj), gnome_pilot_conduit_file_get_type(), GnomePilotConduitFileClass) #else /* !GTK_CHECK_GET_CLASS */ #define GNOME_PILOT_CONDUIT_FILE_GET_CLASS(obj) ((GnomePilotConduitFileClass *)GTK_OBJECT(obj)->klass) #endif /* GTK_CHECK_GET_CLASS */ /* * Main object structure */ #ifndef __TYPEDEF_GNOME_PILOT_CONDUIT_FILE__ #define __TYPEDEF_GNOME_PILOT_CONDUIT_FILE__ typedef struct _GnomePilotConduitFile GnomePilotConduitFile; #endif struct _GnomePilotConduitFile { GnomePilotConduit __parent__; }; /* * Class definition */ typedef struct _GnomePilotConduitFileClass GnomePilotConduitFileClass; struct _GnomePilotConduitFileClass { GnomePilotConduitClass __parent__; /*signal*/int (* install_db) (GnomePilotConduitFile * self, int pisock, gchar * src_file, gboolean rm); }; /* * Public methods */ GtkType gnome_pilot_conduit_file_get_type (void) G_GNUC_CONST; GtkObject * gnome_pilot_conduit_file_new (GPilotPilot * pilot); int gnome_pilot_conduit_file_install_db (GnomePilotConduitFile * self, int pisock, gchar * src_file, gboolean rm); /* * Signal connection wrapper macros */ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #define GNOME_PILOT_CONDUIT_FILE_SIGNAL_INSTALL_DB(func) "install_db",GTK_SIGNAL_FUNC(({int (* ___install_db) (GnomePilotConduitFile * self, int pisock, gchar * src_file, gboolean rm, gpointer data ) = func; ___install_db; })) #else /* __GNUC__ && !__STRICT_ANSI__ */ #define GNOME_PILOT_CONDUIT_FILE_SIGNAL_INSTALL_DB(func) "install_db",GTK_SIGNAL_FUNC(func) #endif /* __GNUC__ && !__STRICT_ANSI__ */ #ifdef __cplusplus } #endif /* __cplusplus */ #endif .