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
18class CalcView;
19
20class 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			CalcView*			View() const { return fCalcView; };
35
36 private:
37			CalcView*			fCalcView;
38};
39
40#endif // _CALC_WINDOW_H
41