1 #ifndef TIME_H 2 #define TIME_H 3 4 #include <Application.h> 5 6 #include "TimeSettings.h" 7 #include "TimeWindow.h" 8 9 class TimeApplication : public BApplication { 10 public: 11 TimeApplication(); 12 virtual ~TimeApplication(); 13 14 void MessageReceived(BMessage *message); 15 16 void ReadyToRun(void); 17 void AboutRequested(void); 18 19 void SetWindowCorner(BPoint corner); 20 BPoint WindowCorner() const 21 { return f_settings->WindowCorner(); } 22 private: 23 TimeSettings *f_settings; 24 TTimeWindow *f_window; 25 }; 26 27 #endif //TIME_H 28