]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
* allow resizing of detached panel
[lyx.git] / src / buffer.h
index f30c83d8ab592353e859cf16c40eef5704c017ee..ab48f508173aa1c4ebe247dcda134cad96ca2188 100644 (file)
@@ -120,7 +120,7 @@ public:
        bool hasParWithID(int id) const;
 
        /// This signal is emitted when the buffer is changed.
-       boost::signal<void(bool)> changed;
+       boost::signal<void()> changed;
        /// 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.
@@ -170,6 +170,8 @@ public:
        Language const * getLanguage() const;
        /// get l10n translated to the buffers language
        docstring const B_(std::string const & l10n) const;
+       /// translate \p label to the buffer language if possible
+       docstring const translateLabel(docstring const & label) const;
 
        ///
        int runChktex();