aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatersearchreplace.h
blob: 9dcd0352bc3016ce0b5a8f23eacd35bfc07e02f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef LL_LLFLOATERSEARCHREPLACE_H
#define LL_LLFLOATERSEARCHREPLACE_H

#include "llfloater.h"
#include "lltexteditor.h"

class LLFloaterSearchReplace : public LLFloater
{
private:
	LLFloaterSearchReplace();
	virtual ~LLFloaterSearchReplace();

public:
	virtual void open();
	virtual	BOOL postBuild();

public:
	static void show(LLTextEditor* editor);

	static void onBtnSearch(void* userdata);
	static void onBtnReplace(void* userdata);
	static void onBtnReplaceAll(void* userdata);

	static LLFloaterSearchReplace* getInstance() { return sInstance; }

private:
	LLTextEditor* mEditor;

	static LLFloaterSearchReplace* sInstance;
};

#endif // LL_LLFLOATERSEARCHREPLACE_H