]> git.tdb.fi Git - builder.git/blobdiff - source/misc.h
Reorder class members
[builder.git] / source / misc.h
index 1e1b16cdf9149cccb4279e1f1e048c9b4835c9d1..508a9b0cf6a0fd0b48c876c91742df1695ac69b2 100644 (file)
@@ -1,13 +1,31 @@
+/* $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
+{
+       ALL_STATIC,
+       LOCAL_STATIC,
+       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