diff options
Diffstat (limited to 'linden/indra/newview/llfloatersearchreplace.h')
-rw-r--r-- | linden/indra/newview/llfloatersearchreplace.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloatersearchreplace.h b/linden/indra/newview/llfloatersearchreplace.h new file mode 100644 index 0000000..9dcd035 --- /dev/null +++ b/linden/indra/newview/llfloatersearchreplace.h | |||
@@ -0,0 +1,32 @@ | |||
1 | #ifndef LL_LLFLOATERSEARCHREPLACE_H | ||
2 | #define LL_LLFLOATERSEARCHREPLACE_H | ||
3 | |||
4 | #include "llfloater.h" | ||
5 | #include "lltexteditor.h" | ||
6 | |||
7 | class LLFloaterSearchReplace : public LLFloater | ||
8 | { | ||
9 | private: | ||
10 | LLFloaterSearchReplace(); | ||
11 | virtual ~LLFloaterSearchReplace(); | ||
12 | |||
13 | public: | ||
14 | virtual void open(); | ||
15 | virtual BOOL postBuild(); | ||
16 | |||
17 | public: | ||
18 | static void show(LLTextEditor* editor); | ||
19 | |||
20 | static void onBtnSearch(void* userdata); | ||
21 | static void onBtnReplace(void* userdata); | ||
22 | static void onBtnReplaceAll(void* userdata); | ||
23 | |||
24 | static LLFloaterSearchReplace* getInstance() { return sInstance; } | ||
25 | |||
26 | private: | ||
27 | LLTextEditor* mEditor; | ||
28 | |||
29 | static LLFloaterSearchReplace* sInstance; | ||
30 | }; | ||
31 | |||
32 | #endif // LL_LLFLOATERSEARCHREPLACE_H | ||