]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / Floating.h
index 2f0e5270f64e5a850bae047ed76a21536482f602..5d4c260ca55f63f4d1db19c088fd5e22c2dd35a1 100644 (file)
 #ifndef FLOATING_H
 #define FLOATING_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 
 /** This is a "float layout" object. It contains the parameters for how to
@@ -32,7 +28,7 @@ public:
        Floating(string const & type, string const & placement,
                 string const & ext, string const & within,
                 string const & style, string const & name,
-                bool builtin = false);
+                string const & listName, bool builtin = false);
        ///
        string const & type() const;
        ///
@@ -46,6 +42,8 @@ public:
        ///
        string const & name() const;
        ///
+       string const & listName() const;
+       ///
        bool builtin() const;
 private:
        ///
@@ -61,6 +59,8 @@ private:
        ///
        string name_;
        ///
+       string listName_;
+       ///
        bool builtin_;
 };