1 /* 2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the OpenBeOS License. 4 */ 5 #ifndef FIND_WINDOW_H 6 #define FIND_WINDOW_H 7 8 9 #include <Window.h> 10 #include <Messenger.h> 11 12 class FindTextView; 13 class BCheckBox; 14 15 16 class FindWindow : public BWindow { 17 public: 18 FindWindow(BRect rect, BMessage &previous, BMessenger &target); 19 virtual ~FindWindow(); 20 21 virtual void WindowActivated(bool active); 22 virtual void MessageReceived(BMessage *message); 23 virtual bool QuitRequested(); 24 25 void SetTarget(BMessenger &target); 26 27 private: 28 BMessenger fTarget; 29 FindTextView *fTextView; 30 BCheckBox *fCaseCheckBox; 31 BMenu *fMenu; 32 }; 33 34 #endif /* FIND_WINDOW_H */ 35