]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDots.h
Allows editing when the Prefs dialog is opened; fix bug 3140:
[lyx.git] / src / mathed / InsetMathDots.h
index 77057d5a37a7610e44eecba50b0f4888e1dd96b3..86173a0b37f292e4b9f2dbdd7dcfdbc583444aec 100644 (file)
@@ -15,6 +15,8 @@
 #include "InsetMathDim.h"
 
 
+namespace lyx {
+
 class latexkeys;
 
 /// The different kinds of ellipsis
@@ -23,11 +25,11 @@ public:
        ///
        explicit InsetMathDots(latexkeys const * l);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       std::string name() const;
+       docstring name() const;
 protected:
        /// cache for the thing's height
        mutable int dh_;
@@ -36,4 +38,7 @@ protected:
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 };
+
+} // namespace lyx
+
 #endif