]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
[lyx.git] / src / buffer.h
index d3c8d20e655a076334bb23c78fed8ab6157ee14a..2c52c7b04cb4d6e991a57243aa8bf4fd104fed38 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "support/limited_stack.h"
 #include "support/types.h"
+#include "support/docstring.h"
 
 #include <boost/scoped_ptr.hpp>
 #include <boost/signal.hpp>
@@ -116,7 +117,7 @@ public:
        /// This signal is emitted when some parsing error shows up.
        boost::signal<void(std::string)> errors;
        /// This signal is emitted when some message shows up.
-       boost::signal<void(std::string)> message;
+       boost::signal<void(lyx::docstring)> message;
        /// This signal is emitted when the buffer busy status change.
        boost::signal<void(bool)> busy;
        /// This signal is emitted when the buffer readonly status change.
@@ -165,7 +166,7 @@ public:
        /// returns the main language for the buffer (document)
        Language const * getLanguage() const;
        /// get l10n translated to the buffers language
-       std::string const B_(std::string const & l10n) const;
+       lyx::docstring const B_(std::string const & l10n) const;
 
        ///
        int runChktex();