]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlFloat.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlFloat.h
index 9566e1c146650b613c290288e4ebadf2847967f3..af4797414ac9998c616bbea42117524c7d7cdc90 100644 (file)
@@ -6,25 +6,25 @@
  *
  * \author unknown
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef CONTROLFLOAT_H
 #define CONTROLFLOAT_H
 
-
 #include "Dialog.h"
-#include "insets/insetfloat.h"
 
+class InsetFloatParams;
+
+namespace lyx {
+namespace frontend {
 
-/** A controller for Minipage dialogs.
- */
 class ControlFloat : public Dialog::Controller {
 public:
        ///
        ControlFloat(Dialog &);
        ///
-       virtual void initialiseParams(string const & data);
+       virtual bool initialiseParams(std::string const & data);
        /// clean-up on hide.
        virtual void clearParams();
        /// clean-up on hide.
@@ -40,4 +40,7 @@ private:
        boost::scoped_ptr<InsetFloatParams> params_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif