]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
I'll find a solution for the 'dirList problem', Abdel.
[lyx.git] / src / TextClass.h
index 42e0b8e85e17729e3bfe6f216932d266fdfb480a..2cecdb5751a82689dd3cbf4c13af248677221254 100644 (file)
@@ -18,6 +18,7 @@
 #include "insets/InsetLayout.h"
 
 #include "support/docstring.h"
+#include "support/types.h"
 
 #include <boost/shared_ptr.hpp>
 
@@ -140,13 +141,6 @@ public:
        ///
        unsigned int columns() const;
        ///
-       enum PageSides {
-               ///
-               OneSide,
-               ///
-               TwoSides
-       };
-       ///
        PageSides sides() const;
        ///
        int secnumdepth() const;
@@ -261,14 +255,7 @@ private:
 
 
 /// convert page sides option to text 1 or 2
-std::ostream & operator<<(std::ostream & os, TextClass::PageSides p);
-
-/** Shared pointer for possibly modular layout. Needed so that paste,
- *  for example, will still be able to retain the pointer, even when
- *  the buffer itself is closed.
- */
-typedef boost::shared_ptr<TextClass> TextClassPtr;
-
+std::ostream & operator<<(std::ostream & os, PageSides p);
 
 } // namespace lyx