namespace otk {
+class OtkWidget;
+
class OtkApplication : public OtkEventDispatcher {
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
};
}