1/*
2 * Copyright 2006 Haiku, Inc. All Rights Reserved.
3 * Copyright 1997, 1998 R3 Software Ltd. All Rights Reserved.
4 * Distributed under the terms of the MIT License.
5 *
6 * Authors:
7 *		Stephan Aßmus, superstippi@gmx.de
8 *		Timothy Wayper, timmy@wunderbear.com
9 */
10#ifndef _CALC_APPLICATION_H
11#define _CALC_APPLICATION_H
12
13
14#include <Application.h>
15
16
17extern const char* kAppName;
18extern const char* kSignature;
19
20class BFile;
21class CalcWindow;
22
23class CalcApplication : public BApplication {
24 public:
25								CalcApplication();
26	virtual						~CalcApplication();
27
28	virtual	void				ReadyToRun();
29	virtual	void				AboutRequested();
30	virtual	bool				QuitRequested();
31
32 private:
33			void				_LoadSettings(BMessage& settings);
34			void				_SaveSettings();
35			status_t			_InitSettingsFile(BFile* file, bool write);
36
37			CalcWindow*			fCalcWindow;
38};
39
40#endif // _CALC_APPLICATION_H
41