]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.hh
python has begun!
[chaz/openbox] / src / openbox.hh
index 8c2015f95870af95005b39bc65525f048762b1e4..83891828b5a4303173c509f0d7bccb74520b250e 100644 (file)
@@ -18,19 +18,21 @@ extern "C" {
 #include <vector>
 #include <map>
 
+#include "python.hh"
 #include "otk/screeninfo.hh"
 #include "otk/timerqueuemanager.hh"
 #include "otk/property.hh"
 #include "otk/configuration.hh"
 #include "otk/eventdispatcher.hh"
 #include "otk/eventhandler.hh"
-#include "client.hh"
 
 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,7 +45,7 @@ class OBScreen;
 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.
@@ -92,6 +94,7 @@ private:
 
   //! A list of all managed clients
   ClientMap _clients;
+  PyObject *_pyclients; // PyDictObject
 
   //! A list of all the managed screens
   ScreenList _screens;
@@ -111,6 +114,9 @@ private:
   */
   otk::OBProperty *_property;
 
+  //! The action interface through which all user-available actions occur
+  OBActions *_actions;
+
   //! The running state of the window manager
   RunState _state;
 
@@ -165,6 +171,8 @@ public:
   //! Returns the mouse cursors used throughout Openbox
   inline const Cursors &cursors() const { return _cursors; }
 
+  inline PyObject *pyclients() const { return _pyclients; }
+
   //! The main function of the Openbox class
   /*!
     This function should be called after instantiating the Openbox class.
@@ -188,8 +196,6 @@ public:
     manager can be destroyed.
   */
   inline void shutdown() { _doshutdown = true; }
-
-  virtual void mapRequestHandler(const XMapRequestEvent &);
 };
 
 }
This page took 0.02174 seconds and 4 git commands to generate.