Files
haiku-beta6/src/apps/diskprobe/FindWindow.h
T
Axel Dörfler 6f850dfd44 Build fixes for the R5/Dano target, no longer relies on the COMPILE_FOR_R5 macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 06:48:24 +00:00

44 lines
809 B
C++

/*
* Copyright 2004-2006, Axel Dörfler, [email protected]. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef FIND_WINDOW_H
#define FIND_WINDOW_H
#include <Window.h>
#include <Messenger.h>
class BCheckBox;
class BMenu;
class FindTextView;
enum find_mode {
kAsciiMode,
kHexMode
};
class FindWindow : public BWindow {
public:
FindWindow(BRect rect, BMessage &previous, BMessenger &target,
const BMessage *settings = NULL);
virtual ~FindWindow();
virtual void WindowActivated(bool active);
virtual void MessageReceived(BMessage *message);
virtual bool QuitRequested();
void SetTarget(BMessenger &target);
private:
BMessenger fTarget;
FindTextView *fTextView;
BCheckBox *fCaseCheckBox;
BMenu *fMenu;
};
#endif /* FIND_WINDOW_H */