-/* 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"
-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)
{}
}
+string const & Floating::listName() const
+{
+ return listName_;
+}
+
+
bool Floating::builtin() const
{
return builtin_;