summaryrefslogtreecommitdiffstats
path: root/objects/window-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'objects/window-object.h')
-rw-r--r--objects/window-object.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/objects/window-object.h b/objects/window-object.h
new file mode 100644
index 0000000..b9860af
--- /dev/null
+++ b/objects/window-object.h
@@ -0,0 +1,21 @@
+#ifndef _WINDOW_OBJECT_H_
+#define _WINDOW_OBJECT_H_
+
+#include <Python.h>
+#include "base-objects.h"
+
+/* forward */
+struct _WINDOW_REC;
+
+typedef struct
+{
+ PyIrssiFinal_HEAD(struct _WINDOW_REC)
+} PyWindow;
+
+extern PyTypeObject PyWindowType;
+
+int window_object_init(void);
+PyObject *pywindow_new(void *win);
+#define pywindow_check(op) PyObject_TypeCheck(op, &PyWindowType)
+
+#endif