Files
haiku-beta6/src/apps/diskprobe/FindWindow.h
T
Axel Dörfler f0abe83f7b Now saves the current find settings, too (find mode and case sensitivity).
Updated the about requester to read "Haiku" instead of "OpenBeOS".


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 09:06:51 +00:00

42 lines
792 B
C++

/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
#ifndef FIND_WINDOW_H
#define FIND_WINDOW_H
#include <Window.h>
#include <Messenger.h>
class FindTextView;
class BCheckBox;
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 */