xref: /haiku/src/apps/deskcalc/CalcWindow.h (revision 1214ef1b2100f2b3299fc9d8d6142e46f70a4c3f)
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  *		Timothy Wayper <timmy@wunderbear.com>
8  *		Stephan Aßmus <superstippi@gmx.de>
9  */
10 
11 
12 #ifndef _CALC_WINDOW_H
13 #define _CALC_WINDOW_H
14 
15 #include <Window.h>
16 
17 class CalcView;
18 
19 class CalcWindow : public BWindow {
20  public:
21 								CalcWindow(BRect frame);
22 	virtual						~CalcWindow();
23 
24 	virtual	void				Show();
25 	virtual	bool				QuitRequested();
26 
27 			bool				LoadSettings(BMessage* archive);
28 			status_t			SaveSettings(BMessage* archive) const;
29 
30 			void				SetFrame(BRect frame,
31 										 bool forceCenter = false);
32 
33  private:
34 			CalcView*			fCalcView;
35 };
36 
37 #endif // _CALC_WINDOW_H
38