1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __application_hh
3 #define __application_hh
5 #include "eventdispatcher.hh"
12 class Application : public EventDispatcher {
16 Application(int argc, char **argv);
17 virtual ~Application();
19 inline int screen() const { return _screen; }
21 virtual void run(void);
22 // more bummy cool functionality
24 void setDockable(bool dockable) { _dockable = dockable; }
25 inline bool isDockable(void) const { return _dockable; }
36 friend class AppWidget;