X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFloating.C;h=ddd94a901d4cfab062a9b05ea2614a2b26d99850;hb=024275f0690b41634e26dabe8758e3dc6cd31ee2;hp=bda65447b43bb43cf6ac879b0933262d7151220d;hpb=42a1e2ea5a05435f9b07c6274b966e2ae13d4615;p=lyx.git diff --git a/src/Floating.C b/src/Floating.C index bda65447b4..ddd94a901d 100644 --- a/src/Floating.C +++ b/src/Floating.C @@ -1,32 +1,35 @@ -/* 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-2000 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 -#ifdef __GNUG__ -#pragma implementation -#endif - #include "Floating.h" -Floating::Floating() +namespace lyx { + +using std::string; + + +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