using python and swig for now.
[mikachu/openbox.git] / src / openbox.i
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2
3 %module openbox
4
5 %{
6 #ifdef HAVE_CONFIG_H
7 #  include "../config.h"
8 #endif
9
10 #include "openbox.hh"
11 #include "screen.hh"
12 #include "client.hh"
13 %}
14
15 %immutable ob::Openbox::instance;
16
17 %include "openbox.hh"
18 %include "screen.hh"
19 %include "client.hh"
20
21
22 %include stl.i
23 %include std_list.i
24
25 %{
26 class OBClient;
27 %}
28 %template(ClientList) std::list<OBClient*>;