]> git.tdb.fi Git - builder.git/blobdiff - source/misc.h
Reorder class members
[builder.git] / source / misc.h
index 0fc0e32dd4c642e0fac0e59f2b2d7ec82ed194c6..508a9b0cf6a0fd0b48c876c91742df1695ac69b2 100644 (file)
@@ -1,10 +1,17 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef MISC_H_
 #define MISC_H_
 
 #include <list>
 #include <map>
 #include <string>
-#include <msp/path/path.h>
+#include <msp/fs/path.h>
 
 enum LibMode
 {
@@ -13,10 +20,12 @@ enum LibMode
        DYNAMIC
 };
 
-typedef std::list<std::string>     StringList;
-typedef std::list<Msp::Path::Path> PathList;
+typedef std::list<std::string> StringList;
+typedef std::list<Msp::FS::Path> PathList;
 typedef std::map<std::string, std::string> StringMap;
 
+/** Runs a command and returns its output as a string.  The exit status of the
+command is lost. */
 std::string run_command(const StringList &);
 
 #endif