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