]> git.lyx.org Git - lyx.git/blobdiff - src/messages.h
Add margin to paragraph dialog.
[lyx.git] / src / messages.h
index 93fc3d0c9baaa3e94765e616fd7622e04e1df4b4..87ebb4025d0bc427b59d83ed89151d391469497f 100644 (file)
@@ -29,6 +29,8 @@ public:
 private:
        ///
        std::string lang_;
+       /// Did we warn about unavailable locale already? 
+       mutable bool warned_;
        ///
        typedef std::map<std::string, docstring> TranslationCache;
        /// Internal cache for gettext translated strings.
@@ -37,6 +39,13 @@ private:
        mutable TranslationCache cache_;
 };
 
+/// Access to the unique Messages object for the passed \p language.
+/// Implementation is in lyx_main.C.
+extern Messages & getMessages(std::string const & language);
+/// Access to the unique Messages object used for GUI element.
+/// Implementation is in lyx_main.C.
+extern Messages & getGuiMessages();
+
 } // namespace lyx
 
 #endif