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/functiontargets.cpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/functiontargets.cpp (limited to 'src/functiontargets.cpp') diff --git a/src/functiontargets.cpp b/src/functiontargets.cpp deleted file mode 100644 index a94f43e..0000000 --- a/src/functiontargets.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "functiontargets.h" -#include "bu/plugger.h" -#include "build.h" - -PluginInterface2(targets, FunctionTargets, Function, "Mike Buland", 0, 1 ); - -FunctionTargets::FunctionTargets() -{ -} - -FunctionTargets::~FunctionTargets() -{ -} - -void FunctionTargets::execute( Build *bld, const StringList &lInput, StringList &lOutput ) -{ - if( bld == NULL ) - { - throw BuildException("You cannot call targets() from anywhere, see the manual."); - } - - for( TargetMap::iterator i = bld->getTargetMap().begin(); - i != bld->getTargetMap().end(); i++ ) - { - lOutput.push_back( (*i).first ); - } -} - -Function *FunctionTargets::duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) -{ - Function *pRet = new FunctionTargets(); - pRet->copyData( this, bld, cont, mExtra ); - return pRet; -} - -- cgit v1.2.3