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