From 51e21a316be6e052251b3dfc7d671061ebd67cee Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 18:03:28 +0000 Subject: Removed the old trunk contents. About to load up m3 --- src/functiontostring.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/functiontostring.cpp (limited to 'src/functiontostring.cpp') diff --git a/src/functiontostring.cpp b/src/functiontostring.cpp deleted file mode 100644 index 2fdcc1c..0000000 --- a/src/functiontostring.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "functiontostring.h" -#include "bu/plugger.h" - -PluginInterface2(toString, FunctionToString, Function, "Mike Buland", 0, 1 ); - -FunctionToString::FunctionToString() -{ -} - -FunctionToString::~FunctionToString() -{ -} - -void FunctionToString::execute( Build *bld, const StringList &lInput, StringList &lOutput ) -{ - std::string sOut; - - for( StringList::const_iterator i = lInput.begin(); i != lInput.end(); i++ ) - { - if( i != lInput.begin() ) sOut += " "; - sOut += *i; - } - - lOutput.push_back( sOut ); -} - -Function *FunctionToString::duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) -{ - Function *pRet = new FunctionToString(); - pRet->copyData( this, bld, cont, mExtra ); - return pRet; -} - -- cgit v1.2.3