X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalTemplate.h;h=4392870057d3969c20d8729edf336b205575d312;hb=dbb1ac30e9a87007af7c53f0f93ec9e21826f90b;hp=cb3f8f93b3595aeb7bbd6f8f136259c9a9a44128;hpb=39e79d8602920eefe36e898c9f415afb979521b2;p=lyx.git diff --git a/src/insets/ExternalTemplate.h b/src/insets/ExternalTemplate.h index cb3f8f93b3..4392870057 100644 --- a/src/insets/ExternalTemplate.h +++ b/src/insets/ExternalTemplate.h @@ -15,7 +15,9 @@ #include "ExternalTransforms.h" -#include +#include + +#include namespace lyx { @@ -23,6 +25,12 @@ namespace support { class FileName; } class Lexer; +enum PreviewMode { + PREVIEW_OFF = 0, + PREVIEW_GRAPHICS, + PREVIEW_INSTANT +}; + namespace external { class Template { @@ -56,6 +64,8 @@ public: std::string fileRegExp; /// Should we do automatic production of the output? bool automaticProduction; + /// How should we preview the data in LyX? + PreviewMode preview_mode; /// A collection of transforms that we can use to transform the data. std::vector transformIds;