]> git.lyx.org Git - features.git/blobdiff - src/OutputParams.h
try using std::tr1::shared_ptr instead of boost::shared_ptr
[features.git] / src / OutputParams.h
index df29806ee9fe44ee41777dfdd276e14fbc7c7bde..b4bf7f9283affddb7efc62b06348897ace218d5f 100644 (file)
 #ifndef OUTPUTPARAMS_H
 #define OUTPUTPARAMS_H
 
-#include <string>
-
 #include "support/types.h"
-#include <boost/shared_ptr.hpp>
+
 #include "Changes.h"
 
+#include <string>
+#include <tr1/memory>
+
 
 namespace lyx {
 
@@ -121,7 +122,7 @@ public:
            This is a hack: Make it possible to add stuff to constant
            OutputParams instances.
        */
-       boost::shared_ptr<ExportData> exportdata;
+       std::tr1::shared_ptr<ExportData> exportdata;
 
        /** Whether we are inside a comment inset. Insets that are including
         *  external files like InsetGraphics, InsetInclude and InsetExternal
@@ -157,6 +158,9 @@ public:
         */
        pit_type par_end;
 
+       /// is this the last paragraph in the current buffer/inset?
+       bool isLastPar;
+
        /** whether or not do actual file copying and image conversion
         *  This mode will be used to preview the source code
         */