xref: /haiku/src/apps/debugger/user_interface/gui/GraphicalUserInterface.h (revision a6e73cb9e8addfe832c064bfcb68067f1c2fa3eb)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef GRAPHICAL_USER_INTERFACE_H
6 #define GRAPHICAL_USER_INTERFACE_H
7 
8 
9 #include "UserInterface.h"
10 
11 
12 class BMessenger;
13 class TeamWindow;
14 
15 
16 class GraphicalUserInterface : public UserInterface {
17 public:
18 								GraphicalUserInterface();
19 	virtual						~GraphicalUserInterface();
20 
21 	virtual	status_t			Init(Team* team,
22 									UserInterfaceListener* listener);
23 	virtual	void				Show();
24 	virtual	void				Terminate();
25 									// shut down the UI *now* -- no more user
26 									// feedback
27 
28 	virtual	void				NotifyUser(const char* title,
29 									const char* message,
30 									user_notification_type type);
31 	virtual	int32				SynchronouslyAskUser(const char* title,
32 									const char* message, const char* choice1,
33 									const char* choice2, const char* choice3);
34 
35 private:
36 			TeamWindow*			fTeamWindow;
37 			BMessenger*			fTeamWindowMessenger;
38 };
39 
40 
41 #endif	// GRAPHICAL_USER_INTERFACE_H
42