X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.C;h=ddd94a901d4cfab062a9b05ea2614a2b26d99850;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=e4e528014ef5a8112e0747262788578bcd36cc5d;hpb=8283e978f8d621041c432b9b88a476bfd567385c;p=lyx.git diff --git a/src/Floating.C b/src/Floating.C index e4e528014e..ddd94a901d 100644 --- a/src/Floating.C +++ b/src/Floating.C @@ -1,22 +1,25 @@ -/* This file is part of - * ====================================================== +/** + * \file Floating.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor + * \author Lars Gullik Bjønnes + * \author Jean-Marc Lasgouttes + * \author Angus Leeming * - * Copyright 1998-2001 The LyX Team. - * - * ====================================================== + * Full author contact details are available in file CREDITS. */ #include -#ifdef __GNUG__ -#pragma implementation -#endif - #include "Floating.h" +namespace lyx { + +using std::string; + + Floating::Floating() {} @@ -24,9 +27,9 @@ 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,7 +69,16 @@ string const & Floating::name() const } +string const & Floating::listName() const +{ + return listName_; +} + + bool Floating::builtin() const { return builtin_; } + + +} // namespace lyx