X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fapplication.hh;h=7696e73d3860cd5ef23327faf23600b1eb1dea77;hb=52b83a9dbb2b7823d5f78781f5948dfd8d77d50b;hp=d6f1ed8dac7f24fff6084291c49a65d180fa529d;hpb=81e1982744e1d692fbe54cc840e93099cbe974af;p=chaz%2Fopenbox diff --git a/otk/application.hh b/otk/application.hh index d6f1ed8d..7696e73d 100644 --- a/otk/application.hh +++ b/otk/application.hh @@ -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; }; }