summaryrefslogtreecommitdiff
path: root/src/openbox.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.i')
-rw-r--r--src/openbox.i28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/openbox.i b/src/openbox.i
new file mode 100644
index 00000000..bde9a8cb
--- /dev/null
+++ b/src/openbox.i
@@ -0,0 +1,28 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+%module openbox
+
+%{
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
+#include "openbox.hh"
+#include "screen.hh"
+#include "client.hh"
+%}
+
+%immutable ob::Openbox::instance;
+
+%include "openbox.hh"
+%include "screen.hh"
+%include "client.hh"
+
+
+%include stl.i
+%include std_list.i
+
+%{
+class OBClient;
+%}
+%template(ClientList) std::list<OBClient*>;