btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / launchbox / NamePanel.h
blob386283aaf2c8d0aa2eea0e8037724b5036c671a4
1 /*
2 * Copyright 2006-2011, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef NAME_PANEL_H
6 #define NAME_PANEL_H
8 #include "Panel.h"
10 class BTextControl;
12 class NamePanel : public Panel {
13 public:
14 NamePanel(const char* label, const char* text,
15 BWindow* window, BHandler* target,
16 BMessage* message, const BSize& size);
17 virtual ~NamePanel();
19 virtual void MessageReceived(BMessage *message);
21 private:
22 BTextControl* fNameTC;
23 BWindow* fWindow;
24 BHandler* fTarget;
25 BMessage* fMessage;
27 window_feel fSavedTargetWindowFeel;
30 #endif // NAME_PANEL_H