]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetfloat.h
index c92569fe2e017978fa5dcf3114a767d829a35fa1..42288867165ea0d8c375c0be49d8714023439b36 100644 (file)
@@ -17,6 +17,7 @@
 #endif
 
 #include "insetcollapsable.h"
+#include <sigc++/signal_system.h>
 
 class Painter;
 
@@ -28,6 +29,10 @@ public:
        ///
        InsetFloat(string const &);
        ///
+       InsetFloat(InsetFloat const &, bool same_id = false);
+       ///
+       ~InsetFloat();
+       ///
        void write(Buffer const * buf, std::ostream & os) const;
        ///
        void read(Buffer const * buf, LyXLex & lex);
@@ -40,14 +45,12 @@ public:
        ///
        int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       int docBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &) const;
        ///
        string const editMessage() const;
        ///
        bool insetAllowed(Inset::Code) const;
        ///
-       void insetButtonRelease(BufferView * bv, int x, int y, int button);
-       ///
        string const & type() const;
        ///
        void placement(string const & p);
@@ -57,6 +60,10 @@ public:
        void wide(bool w);
        ///
        bool wide() const;
+       ///
+       bool  showInsetDialog(BufferView *) const;
+       ///
+       SigC::Signal0<void> hideDialog;
 private:
        ///
        string floatType_;