From 23a7f188297ba3cef1bf13f1be9407ff6eb9bd62 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 04:11:24 +0000 Subject: add a skeletal OBActions class for user actions --- src/openbox.hh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/openbox.hh') diff --git a/src/openbox.hh b/src/openbox.hh index 75a3a2e0..b6c3d6d1 100644 --- a/src/openbox.hh +++ b/src/openbox.hh @@ -29,8 +29,9 @@ namespace ob { class OBScreen; class OBClient; +class OBActions; -//! The main class for the Openbox window manager. +//! The main class for the Openbox window manager /*! Only a single instance of the Openbox class may be used in the application. A pointer to this instance is held in the Openbox::instance static member @@ -43,13 +44,16 @@ class OBClient; class Openbox : public otk::OtkEventDispatcher, public otk::OtkEventHandler { public: - //! The single instance of the Openbox class for the application. + //! The single instance of the Openbox class for the application /*! Since this variable is globally available in the application, the Openbox class does not need to be passed around to any of the other classes. */ static Openbox *instance; + //! The action interface through which all user-available actions occur + static OBActions *actions; + //! The posible running states of the window manager enum RunState { State_Starting, //!< The window manager is starting up (being created) -- cgit v1.2.3