]> git.lyx.org Git - lyx.git/blobdiff - src/support/os.C
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
[lyx.git] / src / support / os.C
index 87967451358a3eadb00074b6b48fb1a36461fe73..7d679dea43570abe374b76c78e411a93b61b0695 100644 (file)
@@ -1,9 +1,35 @@
+/**
+ * \file os.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Ruurd A. Reitsma
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #include <config.h>
 
-#ifdef __EMX__
-#include "os_os2.C"
-#elif defined(__CYGWIN__) || defined(__CYGWIN32__)
+#if defined(__CYGWIN__) || defined(__CYGWIN32__)
+#include "os_cygwin.C"
+#elif defined(_WIN32)
 #include "os_win32.C"
 #else
 #include "os_unix.C"
 #endif
+
+namespace lyx {
+namespace support {
+namespace os {
+
+std::string const python()
+{
+       // Use the -tt switch so that mixed tab/whitespace indentation is
+       // an error
+       static std::string const command("python -tt");
+       return command;
+}
+
+}
+}
+}