diff options
author | Oz Linden <oz@lindenlab.com> | 2012-05-12 12:59:07 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-05-12 12:59:07 -0400 |
commit | 0d11c70e8e68ea2c33cdf01b56b6f2f81ed46f1e (patch) | |
tree | da5527658213b0446016a0a0ae88e3b4ba0c49dd /indra/newview/llautoreplace.h | |
parent | 0f5d636a1a45500fc49cc713e6f93160c4fafe0b (diff) |
STORM-1738: fix class name and other coding standards issues
Diffstat (limited to 'indra/newview/llautoreplace.h')
-rw-r--r-- | indra/newview/llautoreplace.h | 18 |
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 |