]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / Floating.h
index b9c7eb8e4ec0ad8175ab6a6ac18341d8f1432886..5d4c260ca55f63f4d1db19c088fd5e22c2dd35a1 100644 (file)
@@ -1,7 +1,7 @@
 // -*- C++ -*-
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
  *
  *           Copyright 1998-2001 The LyX Team.
 #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_;
 };