btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / debugger / user_interface / gui / utility_windows / BreakpointEditWindow.h
bloba733fd4ad05b9cf0256a2ee57e6a0e92d7fec12c
1 /*
2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef BREAKPOINT_EDIT_WINDOW_H
6 #define BREAKPOINT_EDIT_WINDOW_H
9 #include <Window.h>
11 #include "Team.h"
13 #include "types/Types.h"
16 class BButton;
17 class BRadioButton;
18 class BTextControl;
19 class Team;
20 class UserBreakpoint;
21 class UserInterfaceListener;
24 class BreakpointEditWindow : public BWindow {
25 public:
26 BreakpointEditWindow(
27 ::Team* team,
28 UserBreakpoint* breakpoint,
29 UserInterfaceListener* listener,
30 BHandler* target);
32 ~BreakpointEditWindow();
34 static BreakpointEditWindow* Create(::Team* team,
35 UserBreakpoint* breakpoint,
36 UserInterfaceListener* listener,
37 BHandler* target);
38 // throws
40 virtual void MessageReceived(BMessage* message);
42 virtual void Show();
44 private:
45 void _Init();
46 void _UpdateState();
48 private:
49 ::Team* fTeam;
50 UserInterfaceListener* fListener;
51 UserBreakpoint* fTargetBreakpoint;
52 BTextControl* fConditionInput;
53 BButton* fSaveButton;
54 BButton* fCancelButton;
55 BRadioButton* fAlwaysRadio;
56 BRadioButton* fConditionRadio;
57 BHandler* fTarget;
61 #endif // BREAKPOINT_EDIT_WINDOW