summaryrefslogtreecommitdiff
path: root/liszt/factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'liszt/factory.h')
-rw-r--r--liszt/factory.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/liszt/factory.h b/liszt/factory.h
new file mode 100644
index 000000000..8dd4eca85
--- /dev/null
+++ b/liszt/factory.h
@@ -0,0 +1,42 @@
+#ifndef __LOL_FACTORY_H__
+#define __LOL_FACTORY_H__
+
+#include <mx/mx.h>
+
+typedef struct _LolFactory LolFactory;
+typedef struct _LolFactoryClass LolFactoryClass;
+typedef struct _LolFactoryPrivate LolFactoryPrivate;
+
+GType lol_factory_get_type (void);
+
+#define LOL_TYPE_FACTORY \
+ (lol_factory_get_type ())
+#define LOL_FACTORY(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), LOL_TYPE_FACTORY, \
+ LolFactory))
+#define LOL_FACTORY_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), LOL_TYPE_FACTORY, \
+ LolFactoryClass))
+#define LOL_IS_FACTORY(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LOL_TYPE_FACTORY))
+#define LOL_IS_FACTORY_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), LOL_TYPE_FACTORY))
+#define LOL_FACTORY_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), LOL_TYPE_FACTORY, \
+ LolFactoryClass))
+
+struct _LolFactory
+{
+ GObject parent;
+ LolFactoryPrivate *priv;
+};
+
+struct _LolFactoryClass
+{
+ GObjectClass parent_class;
+ gpointer priv;
+};
+
+LolFactory *lol_factory_new (void);
+
+#endif