/* * Copyright 2006 Haiku, Inc. All Rights Reserved. * Copyright 1997, 1998 R3 Software Ltd. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: * Timothy Wayper * Stephan Aßmus */ #ifndef _CALC_APPLICATION_H #define _CALC_APPLICATION_H #include extern const char* kAppSig; class BFile; class CalcWindow; class CalcApplication : public BApplication { public: CalcApplication(); virtual ~CalcApplication(); virtual void ReadyToRun(); virtual void AboutRequested(); virtual bool QuitRequested(); private: bool _LoadSettings(); void _SaveSettings(); status_t _InitSettingsFile(BFile* file, bool write); CalcWindow* fCalcWindow; }; #endif // _CALC_APPLICATION_H