From c217a730901137252cde2d3a39b59c4ebd53e879 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 15:42:31 +0000 Subject: split the ob module into separate .i's cleanly define the interface, add functions for modifying the objects (via client messages) --- wrap/ob_openbox.i | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 wrap/ob_openbox.i (limited to 'wrap/ob_openbox.i') diff --git a/wrap/ob_openbox.i b/wrap/ob_openbox.i new file mode 100644 index 00000000..ed44380b --- /dev/null +++ b/wrap/ob_openbox.i @@ -0,0 +1,34 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- + +%module ob_openbox + +%{ +#include "config.h" +#include "openbox.hh" +%} + +%include "ob_screen.i" +%include "ob_client.i" +%include "std_string.i" + +namespace ob { + +%ignore Cursors; + +%immutable openbox; + +%ignore Openbox::Openbox(int, char **); +%ignore Openbox::~Openbox(); +%ignore Openbox::actions() const; +%ignore Openbox::bindings() const; +%ignore Openbox::cursors() const; +%ignore Openbox::eventLoop(); +%ignore Openbox::addClient(Window, Client*); +%ignore Openbox::removeClient(Window); +%ignore Openbox::setFocusedClient(Client*); +%ignore Openbox::doRestart() const; +%ignore Openbox::restartProgram() const; + +} + +%include "openbox.hh" -- cgit v1.2.3