]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
remove unneeded PutEnv
[lyx.git] / src / support / filetools.h
index bd15dfd3df6cb00172c08312a5b13a4f03020163..35f4badfc91f04c013e64bb7a9d76431e451f24b 100644 (file)
@@ -1,17 +1,15 @@
 // -*- C++-*-
-/* lyx-filetool.h : tools functions for file/path handling
-   this file is part of LyX, the High Level Word Processor
-   Copyright 1995-2001, Matthias Ettrich and the LyX Team
-*/
+/**
+ * \file filetools.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ */
 
 #ifndef LYX_FILETOOL_H
 #define LYX_FILETOOL_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include <vector>
+#include <utility>
 #include "LString.h"
 
 
@@ -110,12 +108,6 @@ string const GetEnv(string const & envname);
 /// A helper function.
 string const GetEnvPath(string const & name);
 
-///
-bool PutEnv(string const & envstr);
-
-///
-bool PutEnvPath(string const & envstr);
-
 /// Substitutes active latex characters with underscores in filename
 string const MakeLatexName(string const & file);
 
@@ -209,5 +201,8 @@ void removeAutosaveFile(string const & filename);
 /// read the BoundingBox entry from a ps/eps/pdf-file
 string const readBB_from_PSFile(string const & file);
 
+typedef std::pair<int, string> cmd_ret;
+
+cmd_ret const RunCommand(string const & cmd);
 
 #endif