]> Dogcows Code - chaz/openbox/blobdiff - otk/application.hh
handle configurerequests when we cant find a target registered for them
[chaz/openbox] / otk / application.hh
index d6f1ed8dac7f24fff6084291c49a65d180fa529d..7696e73d3860cd5ef23327faf23600b1eb1dea77 100644 (file)
@@ -10,7 +10,7 @@
 
 namespace otk {
 
-class OtkWidget;
+class OtkAppWidget;
 
 class OtkApplication : public OtkEventDispatcher {
 
@@ -28,20 +28,18 @@ public:
   inline Style *getStyle(void) const { return _style; }
   // more accessors
 
-protected:
-  bool setMainWidget(const OtkWidget *main_widget);
-
 private:
   void loadStyle(void);
 
-  const OtkWidget *_main_widget;
   OBTimerQueueManager *_timer_manager;
   BImageControl *_img_ctrl;
   Configuration *_style_conf;
   Style *_style;
   bool _dockable;
 
-  friend class OtkWidget; // for access to setMainWidget
+  int _appwidget_count;
+
+  friend class OtkAppWidget;
 };
 
 }
This page took 0.022799 seconds and 4 git commands to generate.