diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-07-14 10:02:13 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-07-14 10:02:13 +0000 |
| commit | 5eaed0dbf78fca2bcf185da0abf1dbf41722deb2 (patch) | |
| tree | 2ff9c8bc5c8d206f2b7a852609d1eac6bd377d27 /objects/theme-object.h | |
| parent | 34cdeaae9369af5dce3ce3a4a7756c033bc44cc5 (diff) | |
| download | irssi-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.h | 18 |
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 |
