diff options
Diffstat (limited to 'src/python_client.hh')
| -rw-r--r-- | src/python_client.hh | 29 |
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 |
