]> Dogcows Code - chaz/openbox/blobdiff - otk/application.hh
begin conversion to ustring. add some more members.
[chaz/openbox] / otk / application.hh
index d6f1ed8dac7f24fff6084291c49a65d180fa529d..220185ad49198a0d2dfb0d50f83c86699b843992 100644 (file)
@@ -1,3 +1,4 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 #ifndef __application_hh
 #define __application_hh
 
 
 namespace otk {
 
-class OtkWidget;
+class AppWidget;
 
-class OtkApplication : public OtkEventDispatcher {
+class Application : public EventDispatcher {
 
 public:
 
-  OtkApplication(int argc, char **argv);
-  virtual ~OtkApplication();
+  Application(int argc, char **argv);
+  virtual ~Application();
 
-  virtual void exec(void);
+  virtual void run(void);
   // more bummy cool functionality
 
   void setDockable(bool dockable) { _dockable = dockable; }
@@ -28,20 +29,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;
+  TimerQueueManager *_timer_manager;
+  ImageControl *_img_ctrl;
   Configuration *_style_conf;
   Style *_style;
   bool _dockable;
 
-  friend class OtkWidget; // for access to setMainWidget
+  int _appwidget_count;
+
+  friend class AppWidget;
 };
 
 }
This page took 0.027394 seconds and 4 git commands to generate.