]> git.lyx.org Git - lyx.git/blobdiff - src/Sectioning.h
Continue to improve GtkLengthEntry
[lyx.git] / src / Sectioning.h
index ca1dd134b0a31efe500a3498da5f96e0fa9678ba..5bdc5b3963dbc419ba6dfcfcd947d25f648af39f 100644 (file)
@@ -1,45 +1,50 @@
 // -*- 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 <map>
 
-#include "LString.h"
-#include "lyxfont.h"
 
 ///
 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_;
 };
@@ -47,10 +52,9 @@ private:
 
 ///
 class SectioningList {
-public:
 private:
        ///
-       typedef std::map<string, Section> List_;
+       typedef std::map<std::string, Section> List_;
        ///
        List_ list_;
 };