X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSectioning.h;h=4f18a6ca36f5eea030d25ab3bad0633d9df02c0b;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=59df9a90d2c3d420f952717b47646c1a8ff3a3e0;hpb=797d87b4513088a66b17c7ac653b84e36ea80458;p=lyx.git diff --git a/src/Sectioning.h b/src/Sectioning.h index 59df9a90d2..4f18a6ca36 100644 --- a/src/Sectioning.h +++ b/src/Sectioning.h @@ -1,45 +1,53 @@ // -*- C++ -*- +/** + * \file Sectioning.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS. + */ #ifndef SECTIONING_H #define SECTIONING_H -#ifdef __GNUG__ -#pragma interface -#endif +#include "lyxfont.h" #include -#include "LString.h" -#include "lyxfont.h" + +namespace lyx { + /// class Section { public: /// - string const & name() const; + std::string const & name() const; /// int level() const; /// - string const & indent() const; + std::string const & indent() const; /// - string const & beforeskip() const; + std::string const & beforeskip() const; /// - string const & afterskip() const; + std::string const & afterskip() const; /// LyXFont const & style() const; /// bool display() const; private: /// - string name_; + std::string name_; /// int level_; /// - string indent_; + std::string indent_; /// - string beforeskip_; + std::string beforeskip_; /// - string afterskip_; + std::string afterskip_; /// LyXFont style_; }; @@ -49,9 +57,12 @@ private: class SectioningList { private: /// - typedef std::map List_; + typedef std::map List_; /// List_ list_; }; + +} // namespace lyx + #endif