Author: abd4lla Date: 2009-08-07 02:30:13 +0000 (Fri, 07 Aug 2009) New Revision: 8
Added: include/firedbus.h Log: Adds initial dbus object header
Added: include/firedbus.h =================================================================== --- include/firedbus.h (rev 0) +++ include/firedbus.h 2009-08-07 02:30:13 UTC (rev 8) @@ -0,0 +1,50 @@ +/* + * Copyright/Licensing information. + */ + +/* inclusion guard */ +#ifndef __FIRED_FDBUS_H__ +#define __FIRED_FDBUS_H__ + +#include <glib-object.h> +/* + * Potentially, include other headers on which this header depends. + */ + +/* + * Type macros. + */ +#define FIRED_TYPE_FDBUS (fired_fdbus_get_type()) +#define FIRED_FDBUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FIRED_TYPE_FDBUS, FiredFDBus)) +#define FIRED_IS_FDBUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FIRED_TYPE_FDBUS)) +#define FIRED_FDBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FIRED_TYPE_FDBUS, FiredFDBusClass)) +#define FIRED_IS_FDBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FIRED_TYPE_FDBUS)) +#define FIRED_FDBUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FIRED_TYPE_FDBUS, FiredFDBusClass)) + +typedef struct _FiredFDBus FiredFDBus; +typedef struct _FiredFDBusClass FiredFDBusClass; + +struct _FiredFDBus +{ + GObject parent_instance; + + /* instance members */ + gint open_port(void); +}; + +struct _FiredFDBusClass +{ + GObjectClass parent_class; + + /* class members */ +}; + +/* used by MAMAN_TYPE_BAR */ +GType fired_fdbus_get_type (void); + +/* + * Method definitions. + */ + +#endif /* __FIRED_FDBUS_H__ */ +
firekit-devel@lists.fedorahosted.org