X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPDFOptions.h;h=4ab0d9e3ad7488c52d8f1d0943b5533e992894e6;hb=bfe98181169d9e697e515da974d9b6a15a06c940;hp=a3e3cea14b51651d8e4917f9d1b4d1c1d6c90c3d;hpb=de50c5248e149c183822847a201493c97879321d;p=lyx.git diff --git a/src/PDFOptions.h b/src/PDFOptions.h index a3e3cea14b..4ab0d9e3ad 100644 --- a/src/PDFOptions.h +++ b/src/PDFOptions.h @@ -12,15 +12,13 @@ #ifndef PDFOPTIONS_H #define PDFOPTIONS_H -#include "OutputParams.h" - -#include "support/strfwd.h" - #include namespace lyx { class Lexer; +class OutputParams; +class otexstream; // FIXME UNICODE // Write functions need to use odostream instead of ostream before @@ -36,7 +34,7 @@ public: /// output to lyx header void writeFile(std::ostream &) const; /// output to tex header - int writeLaTeX(OutputParams &, odocstream &, + void writeLaTeX(OutputParams &, otexstream &, bool hyperref_already_provided) const; /// read tokens from lyx header std::string readToken(Lexer &lex, std::string const & token); @@ -141,15 +139,7 @@ public: * Returns repaired string. For the time being only newlines * are checked. */ - std::string quoted_options_check(std::string const str) const; - - - /** - * Flag indicating whether user made some input into PDF preferences. - * We want to save options, when user decide to switch off PDF support - * for a while. - */ - bool store_options; + std::string quoted_options_check(std::string const & str) const; }; } // namespace lyx