]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.h
add generic helper class for calling functions in gui thread
[lyx.git] / src / support / Messages.h
index b7d8a52dc7494091313a5ebb729373605ce83297..08500a9044fc61c15226110d27d3151b34505802 100644 (file)
@@ -50,10 +50,10 @@ private:
 
 /// Access to the unique Messages object for the passed \p language.
 /// Implementation is in LyX.cpp.
-extern Messages & getMessages(std::string const & language);
+extern Messages const & getMessages(std::string const & language);
 /// Access to the unique Messages object used for GUI element.
 /// Implementation is in LyX.cpp.
-extern Messages & getGuiMessages();
+extern Messages const & getGuiMessages();
 
 } // namespace lyx