1/*
2 * Copyright 2002-2006, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Mattias Sundblad
7 *		Andrew Bachmann
8 */
9#ifndef FIND_WINDOW_H
10#define FIND_WINDOW_H
11
12
13#include <Window.h>
14
15
16class BButton;
17class BCheckBox;
18class BTextControl;
19
20
21class FindWindow : public BWindow {
22	public:
23						FindWindow(BRect frame, BHandler* handler,
24							BString* searchString, bool caseState,
25							bool wrapState, bool backState);
26
27		virtual void	MessageReceived(BMessage* message);
28		virtual void	DispatchMessage(BMessage* message, BHandler* handler);
29
30	private:
31		void			_SendMessage();
32
33		BTextControl	*fSearchString;
34		BCheckBox		*fCaseSensBox;
35		BCheckBox		*fWrapBox;
36		BCheckBox		*fBackSearchBox;
37		BButton			*fCancelButton;
38		BButton			*fSearchButton;
39
40		BHandler		*fHandler;
41};
42
43#endif	// FIND_WINDOW_H
44
45