X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=src%2Fopenbox.hh;h=a141ae2b3f5ba1603a5678bfb8357bc3a7b0abeb;hb=a0350e27b311db5cab49035752d3852ee68bf8a2;hp=b5956e46e86e0b3846114a3518f9ea9dd51b6cf9;hpb=745e840547b5443ecfb9b6f0a4f14b0d035d59c2;p=chaz%2Fopenbox diff --git a/src/openbox.hh b/src/openbox.hh index b5956e46..a141ae2b 100644 --- a/src/openbox.hh +++ b/src/openbox.hh @@ -6,10 +6,6 @@ @brief The main class for the Openbox window manager */ -/* - cuz girls look soooo goood.. on the end of my DICK -*/ - extern "C" { #include } @@ -185,7 +181,10 @@ public: //! Returns the otk::OBProperty instance for the window manager inline const otk::OBProperty *property() const { return _property; } - //! Returns the OBBinding instance for the window manager + //! Returns the OBActions instance for the window manager + inline OBActions *actions() const { return _actions; } + + //! Returns the OBBindings instance for the window manager inline OBBindings *bindings() const { return _bindings; } //! Returns a managed screen @@ -242,7 +241,8 @@ public: */ inline void shutdown() { _doshutdown = true; } - bool getConfigString(const char *name, std::string *value); + //! Executes a command on a screen + void execute(int screen, const std::string &bin); }; }