-int const LYX_FORMAT = 401;
-
-/// path of the master .tex file
-extern std::string getMasterFilePath();
-/// path of the currently processed .tex file
-extern std::string getParentFilePath();
+extern int const LYX_FORMAT;
+
+/// Absolute path of the master .lyx or .tex file
+extern std::string getMasterFilePath(bool input);
+/// Absolute path of the currently processed .lyx or .tex file
+extern std::string getParentFilePath(bool input);
+/// Is it allowed to overwrite existing files?
+extern bool overwriteFiles();
+/// Do we need to copy included files to the output directory?
+extern bool copyFiles();
+/// Shall we skip child documents and keep them as TeX?
+extern bool skipChildren();
+/// Does tex2lyx run in roundtrip mode?
+extern bool roundtripMode();