]> git.lyx.org Git - lyx.git/blobdiff - src/support/systemcall.C
* lyxfunctional.h: delete compare_memfun and helper classes
[lyx.git] / src / support / systemcall.C
index fcc9a34bc035d03c1469c129817ae482e9c1a0a9..ac4baaf44c42ff74dfd460db46bf52ace41e169d 100644 (file)
@@ -1,5 +1,5 @@
 /**
- *  \file systemcall.C
+ * \file systemcall.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -8,24 +8,25 @@
  * Interface cleaned up by
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "systemcall.h"
 #include "os.h"
 
 #include <cstdlib>
 
+using std::string;
+
 #ifndef CXX_GLOBAL_CSTD
 using std::system;
 #endif
 
+namespace lyx {
+namespace support {
+
 // Reuse of instance
 int Systemcall::startscript(Starttype how, string const & what)
 {
@@ -41,3 +42,6 @@ int Systemcall::startscript(Starttype how, string const & what)
 
        return ::system(command.c_str());
 }
+
+} // namespace support
+} // namespace lyx