]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetExternal.cpp
index 3efc70a6bfd761303787475e9c65dddafe0d8fcc..102fb5398d0f38a320e900dc9048cecbce50b8a2 100644 (file)
@@ -25,6 +25,7 @@
 #include "FuncRequest.h"
 #include "LaTeXFeatures.h"
 #include "Lexer.h"
+#include "LyX.h" // use_gui
 #include "LyXRC.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
@@ -64,8 +65,6 @@ namespace lyx {
 
 namespace Alert = frontend::Alert;
 
-extern bool use_gui;
-
 namespace external {
 
 TempName::TempName()
@@ -269,9 +268,9 @@ bool InsetExternalParams::read(Buffer const & buffer, Lexer & lex)
                { "clip",            EX_CLIP },
                { "display",         EX_DISPLAY},
                { "draft",           EX_DRAFT},
+               { "embed",           EX_EMBED},
                { "extra",           EX_EXTRA },
                { "filename",        EX_FILENAME},
-               { "embed",           EX_EMBED},
                { "height",          EX_HEIGHT },
                { "keepAspectRatio", EX_KEEPASPECTRATIO },
                { "lyxscale",        EX_LYXSCALE},