]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.C
Bug fix; ensure that all is Ok after the combox is moved with
[lyx.git] / src / Floating.C
index e06c0aa3e305981a037308d5c0cd145991d7f374..824b1b7df12899385915627db12c477d9a24a4a8 100644 (file)
@@ -1,32 +1,32 @@
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
+/**
+ * \file Floating.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright 1998-2001 The LyX Team.
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ * \author Angus Leeming
  *
- * ======================================================
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "Floating.h"
 
+using std::string;
+
 
-Floating::Floating() 
+Floating::Floating()
 {}
 
 
 Floating::Floating(string const & type, string const & placement,
                   string const & ext, string const & within,
                   string const & style, string const & name,
-                  bool builtin)
+                  string const & listName, bool builtin)
        : type_(type), placement_(placement), ext_(ext), within_(within),
-         style_(style), name_(name), builtin_(builtin)
+         style_(style), name_(name), listName_(listName), builtin_(builtin)
 {}
 
 
@@ -66,6 +66,12 @@ string const & Floating::name() const
 }
 
 
+string const & Floating::listName() const
+{
+       return listName_;
+}
+
+
 bool Floating::builtin() const
 {
        return builtin_;