/* * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef FIND_WINDOW_H #define FIND_WINDOW_H #include #include 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(); virtual void Show(); void SetTarget(BMessenger &target); private: BMessenger fTarget; FindTextView *fTextView; BCheckBox *fCaseCheckBox; BMenu *fMenu; }; #endif /* FIND_WINDOW_H */