summaryrefslogtreecommitdiff
path: root/src/python_client.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-19 23:54:41 +0000
committerDana Jansens <danakj@orodu.net>2002-12-19 23:54:41 +0000
commit700984bd150d98a6876c117c2e1b1b3c72cffce1 (patch)
treea4e89a9a84b4e1c76d83f1764404c3598f505789 /src/python_client.hh
parent977ecf1f1e82f385a542648b545a0d0877febaf0 (diff)
python has begun!
Diffstat (limited to 'src/python_client.hh')
-rw-r--r--src/python_client.hh29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/python_client.hh b/src/python_client.hh
new file mode 100644
index 00000000..32b0c45b
--- /dev/null
+++ b/src/python_client.hh
@@ -0,0 +1,29 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+#ifndef __pythonclient_hh
+#define __pythonclient_hh
+
+/*! @file python_client.hh
+ @brief Python stuff
+*/
+
+#include "python.hh"
+#include "client.hh"
+
+namespace ob {
+
+extern "C" {
+
+typedef struct {
+ PyObject_HEAD
+ Window window;
+ OBClient *client;
+} PyClientObject;
+
+extern PyTypeObject PyClient_Type;
+
+PyObject *get_client_dict(PyObject* self, PyObject* args);
+
+}
+}
+
+#endif // __pythonclient_hh