summaryrefslogtreecommitdiff
path: root/indra/newview/llautoreplace.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llautoreplace.h')
-rw-r--r--indra/newview/llautoreplace.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/indra/newview/llautoreplace.h b/indra/newview/llautoreplace.h
index 6c531d0040..27533c4ef1 100644
--- a/indra/newview/llautoreplace.h
+++ b/indra/newview/llautoreplace.h
@@ -17,19 +17,19 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AUTO_REPLACE
-#define AUTO_REPLACE
+#ifndef LLAUTOREPLACE_H
+#define LLAUTOREPLACE_H
#include "lllineeditor.h"
-class AutoReplace : public LLSingleton<AutoReplace>
+class LLAutoReplace : public LLSingleton<LLAutoReplace>
{
- AutoReplace();
- ~AutoReplace();
- static AutoReplace* sInstance;
+ LLAutoReplace();
+ ~LLAutoReplace();
+ static LLAutoReplace* sInstance;
public:
void autoreplaceCallback(LLUIString& inputText, S32& cursorPos);
- static AutoReplace* getInstance();
+ static LLAutoReplace* getInstance();
BOOL addReplacementList(LLSD newList);
BOOL removeReplacementList(std::string listName);
BOOL setListEnabled(std::string listName, BOOL enabled);
@@ -48,7 +48,7 @@ public:
void loadFromDisk();
private:
- friend class LLSingleton<AutoReplace>;
+ friend class LLSingleton<LLAutoReplace>;
void saveToDisk(LLSD newSettings);
LLSD getExampleLLSD();
std::string getFileName();
@@ -58,6 +58,4 @@ private:
};
-
-
#endif