all repos — openbox @ fe55bb846db1933d8d6f023236298940cab441f8

openbox fork - make it a bit more like ryudo

src/python_client.hh (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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