summaryrefslogtreecommitdiffstats
path: root/objects/theme-object.h
diff options
context:
space:
mode:
authorChristopher Davis <loafier@gmail.com>2006-07-14 10:02:13 +0000
committerChristopher Davis <loafier@gmail.com>2006-07-14 10:02:13 +0000
commit5eaed0dbf78fca2bcf185da0abf1dbf41722deb2 (patch)
tree2ff9c8bc5c8d206f2b7a852609d1eac6bd377d27 /objects/theme-object.h
parent34cdeaae9369af5dce3ce3a4a7756c033bc44cc5 (diff)
downloadirssi-python-5eaed0dbf78fca2bcf185da0abf1dbf41722deb2.tar.gz
irssi-python-5eaed0dbf78fca2bcf185da0abf1dbf41722deb2.tar.xz
irssi-python-5eaed0dbf78fca2bcf185da0abf1dbf41722deb2.zip
finished up themes. time for textui stuff
git-svn-id: http://svn.irssi.org/repos/irssi-python@4297 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'objects/theme-object.h')
-rw-r--r--objects/theme-object.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/objects/theme-object.h b/objects/theme-object.h
new file mode 100644
index 0000000..299d54d
--- /dev/null
+++ b/objects/theme-object.h
@@ -0,0 +1,18 @@
+#ifndef _THEME_OBJECT_H_
+#define _THEME_OBJECT_H_
+
+#include <Python.h>
+#include "base-objects.h"
+
+typedef struct
+{
+ PyIrssiFinal_HEAD(void)
+} PyTheme;
+
+extern PyTypeObject PyThemeType;
+
+int theme_object_init(void);
+PyObject *pytheme_new(void *td);
+#define pytheme_check(op) PyObject_TypeCheck(op, &PyThemeType)
+
+#endif