summaryrefslogtreecommitdiff
path: root/src/openbox.i
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-23 00:04:32 +0000
committerDana Jansens <danakj@orodu.net>2002-12-23 00:04:32 +0000
commit5f78b51429b204f89b654d634bb4cc8cb78b95f6 (patch)
treea2a1d99ac17304a564d52494a3f2bb9752e62907 /src/openbox.i
parent3cf5a8b6dd5b09a8550c9ecfc19f8e0e884778cc (diff)
using python and swig for now.
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*>;