repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / diskprobe / FindWindow.h
blob09df172853fafe6e7a7a864fd9cfe1fffb4dd60e
1 /*
2 * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef FIND_WINDOW_H
6 #define FIND_WINDOW_H
9 #include <Window.h>
10 #include <Messenger.h>
12 class BCheckBox;
13 class BMenu;
15 class FindTextView;
18 enum find_mode {
19 kAsciiMode,
20 kHexMode
24 class FindWindow : public BWindow {
25 public:
26 FindWindow(BRect rect, BMessage &previous, BMessenger &target,
27 const BMessage *settings = NULL);
28 virtual ~FindWindow();
30 virtual void WindowActivated(bool active);
31 virtual void MessageReceived(BMessage *message);
32 virtual bool QuitRequested();
33 virtual void Show();
35 void SetTarget(BMessenger &target);
37 private:
38 BMessenger fTarget;
39 FindTextView *fTextView;
40 BCheckBox *fCaseCheckBox;
41 BMenu *fMenu;
44 #endif /* FIND_WINDOW_H */