]> git.tdb.fi Git - builder.git/blobdiff - source/misc.h
Reorder class members
[builder.git] / source / misc.h
index 6bbf7a0328568d95e4c9b59b2277eb94bed50671..508a9b0cf6a0fd0b48c876c91742df1695ac69b2 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -20,10 +20,12 @@ enum LibMode
        DYNAMIC
 };
 
-typedef std::list<std::string>     StringList;
+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