]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
include sys/time.h
[lyx.git] / src / lyxtextclass.h
index 94273266ab29385c0c30d2ac26010191db4ac0f8..2b0a3a538a5d0ad308e7dbb0641431daa217b497 100644 (file)
 #ifndef LYXTEXTCLASS_H
 #define LYXTEXTCLASS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "lyxlayout.h"
 #include "LString.h"
 #include "lyxlayout_ptr_fwd.h"
@@ -51,6 +47,8 @@ public:
        ///
        void readOutputType(LyXLex &);
        ///
+       void readTitleType(LyXLex &);
+       ///
        void readMaxCounter(LyXLex &);
        ///
        void readClassOptions(LyXLex &);
@@ -139,6 +137,12 @@ public:
        string const & rightmargin() const;
        ///
        int maxcounter() const;
+
+       /// The type of command used to produce a title
+       LYX_TITLE_LATEX_TYPES titletype() const;
+       /// The name of the title command
+       string const & titlename() const;
+
        ///
        int size() const;
 private:
@@ -190,6 +194,11 @@ private:
        /// highest header level used in this layout.
        int maxcounter_; // add approp. signedness
 
+       /// The type of command used to produce a title
+       LYX_TITLE_LATEX_TYPES titletype_;
+       /// The name of the title command
+       string titlename_;
+
        /// Paragraph styles used in this layout
        LayoutList layoutlist_;