diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-19 23:54:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-19 23:54:41 +0000 |
| commit | 700984bd150d98a6876c117c2e1b1b3c72cffce1 (patch) | |
| tree | a4e89a9a84b4e1c76d83f1764404c3598f505789 /src/python_client.hh | |
| parent | 977ecf1f1e82f385a542648b545a0d0877febaf0 (diff) | |
python has begun!
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 |
