]> Dogcows Code - chaz/openbox/blobdiff - otk/application.hh
support the button pressed resources better
[chaz/openbox] / otk / application.hh
index d266287dfcebfb1e7ceaa5465dfaaf1b6f882429..63fb4195a5286c0d6ec4d4f0c8ddc0d30de97e3e 100644 (file)
@@ -10,6 +10,8 @@
 
 namespace otk {
 
+class OtkAppWidget;
+
 class OtkApplication : public OtkEventDispatcher {
 
 public:
@@ -17,13 +19,13 @@ public:
   OtkApplication(int argc, char **argv);
   virtual ~OtkApplication();
 
-  virtual void exec(void);
+  virtual void run(void);
   // more bummy cool functionality
 
   void setDockable(bool dockable) { _dockable = dockable; }
   inline bool isDockable(void) const { return _dockable; }
 
-  inline Style *getStyle(void) const { return _style; }
+  inline otk::Style *getStyle(void) const { return _style; }
   // more accessors
 
 private:
@@ -34,6 +36,10 @@ private:
   Configuration *_style_conf;
   Style *_style;
   bool _dockable;
+
+  int _appwidget_count;
+
+  friend class OtkAppWidget;
 };
 
 }
This page took 0.025066 seconds and 4 git commands to generate.