]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
Stupid bug fix.
[lyx.git] / src / insets / InsetVSpace.h
index 38bc2bf9bd5ddd8f8b9c5e5c53473c011d42b322..870e78a4a1eaba80c0018f5bf85e81093920cb7f 100644 (file)
 #ifndef INSET_VSPACE_H
 #define INSET_VSPACE_H
 
-
 #include "Inset.h"
 #include "VSpace.h"
-#include "MailInset.h"
 
 
 namespace lyx {
 
-class InsetVSpace : public Inset {
+class InsetVSpace : public Inset
+{
 public:
        ///
        InsetVSpace() {}
@@ -38,7 +37,11 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
+       docstring contextMenu(BufferView const & bv, int x, int y) const;
+       ///
+       static void string2params(std::string const &, VSpace &);
+       ///
+       static std::string params2string(VSpace const &);
 private:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -70,28 +73,6 @@ private:
 };
 
 
-class InsetVSpaceMailer : public MailInset {
-public:
-       ///
-       InsetVSpaceMailer(InsetVSpace & inset);
-       ///
-       virtual Inset & inset() const { return inset_; }
-       ///
-       virtual std::string const & name() const { return name_; }
-       ///
-       virtual std::string const inset2string(Buffer const &) const;
-       ///
-       static void string2params(std::string const &, VSpace &);
-       ///
-       static std::string const params2string(VSpace const &);
-private:
-       ///
-       static std::string const name_;
-       ///
-       InsetVSpace & inset_;
-};
-
-
 } // namespace lyx
 
 #endif