]> git.tdb.fi Git - builder.git/blobdiff - source/misc.h
Redesign the library mode system
[builder.git] / source / misc.h
index 99e41f010be31f2d62e22328c3a601a7d93e869a..45cd396cc1b3dc788a578136ffaa4b5c55371cc3 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MISC_H_
 #define MISC_H_
 
@@ -15,17 +8,14 @@ Distributed under the LGPL
 
 enum LibMode
 {
-       ALL_STATIC,
-       LOCAL_STATIC,
-       DYNAMIC
+       FORCE_STATIC,
+       STATIC,
+       DYNAMIC,
+       FORCE_DYNAMIC
 };
 
 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 returned in the second parameter if it is not null. */
-std::string run_command(const StringList &, int * =0);
-
 #endif