X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftrans.h;h=ce529a2b9f991c2d58bf850373d2e52e35dcdd86;hb=969ab85d985485f503790cb13f98a582d4e1cdb5;hp=6311e74def6b01cb20f86b934ca9bc9c4fe6900c;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/trans.h b/src/trans.h index 6311e74def..ce529a2b9f 100644 --- a/src/trans.h +++ b/src/trans.h @@ -19,6 +19,9 @@ #include +namespace lyx { + + class LyXLex; class TransManager; @@ -34,11 +37,11 @@ public: ~Trans(); /// - int Load(std::string const & language); + int load(std::string const & language); /// - bool IsDefined() const; + bool isDefined() const; /// - std::string const & GetName() const; + std::string const & getName() const; /// std::string const process(char, TransManager &); /// @@ -46,19 +49,19 @@ public: private: /// - void AddDeadkey(tex_accent, std::string const &); + void addDeadkey(tex_accent, std::string const &); /// - void FreeKeymap(); + void freeKeymap(); /// - int Load(LyXLex &); + int load(LyXLex &); /// - std::string const & Match(unsigned char c); + std::string const & match(unsigned char c); /// - void InsertException(KmodException & exclist, char c, + void insertException(KmodException & exclist, char c, std::string const & data, bool = false, tex_accent = TEX_NOACCENT); /// - void FreeException(KmodException & exclist); + void freeException(KmodException & exclist); /// std::string name_; @@ -71,7 +74,7 @@ private: /// inline -std::string const & Trans::Match(unsigned char c) +std::string const & Trans::match(unsigned char c) { std::map::iterator it = keymap_.find(c); if (it != keymap_.end()) { @@ -81,4 +84,7 @@ std::string const & Trans::Match(unsigned char c) return dummy; } + +} // namespace lyx + #endif // TRANS_H