]> git.lyx.org Git - lyx.git/blobdiff - src/trans_mgr.h
* lyx_main.[Ch]
[lyx.git] / src / trans_mgr.h
index a9e45777eb364e0b5e26a37c0fb17054b6a696f6..06e98991eb0d0d068df3c17d59f4f92d30da082f 100644 (file)
 
 #include <boost/scoped_ptr.hpp>
 
+
+namespace lyx {
+
+class LCursor;
 class LyXText;
 class Trans;
 
@@ -147,24 +151,24 @@ private:
        ///
        CharacterSet chset_;
        ///
-       void insert(std::string const &, LyXText *);
+       void insert(std::string const &, LyXText *, LCursor & cur);
        ///
-       void insertVerbatim(std::string const &, LyXText *);
+       void insertVerbatim(std::string const &, LyXText *, LCursor & cur);
 public:
        ///
        TransManager();
        ///
        ~TransManager();
        ///
-       int SetPrimary(std::string const &);
+       int setPrimary(std::string const &);
        ///
-       int SetSecondary(std::string const &);
+       int setSecondary(std::string const &);
        ///
-       void EnablePrimary();
+       void enablePrimary();
        ///
-       void EnableSecondary();
+       void enableSecondary();
        ///
-       void DisableKeymap();
+       void disableKeymap();
        ///
        bool setCharset(std::string const &);
        ///
@@ -172,13 +176,13 @@ public:
                return trans_fsm_.currentState->backspace();
        }
        ///
-       void TranslateAndInsert(char, LyXText *);
+       void translateAndInsert(char, LyXText *, LCursor &);
        ///
        std::string const deadkey(char, KmodInfo);
        ///
        std::string const normalkey(char);
        ///
-       void deadkey(char, tex_accent, LyXText *);
+       void deadkey(char, tex_accent, LyXText *, LCursor &);
 };
 
 
@@ -195,4 +199,7 @@ std::string const TransManager::deadkey(char c, KmodInfo t)
        return trans_fsm_.currentState->deadkey(c, t);
 }
 
+
+} // namespace lyx
+
 #endif // TRANS_MANAGER_H