aboutsummaryrefslogtreecommitdiff
path: root/src/functionfilesin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/functionfilesin.cpp')
-rw-r--r--src/functionfilesin.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/functionfilesin.cpp b/src/functionfilesin.cpp
index 3e1233a..e3d8e92 100644
--- a/src/functionfilesin.cpp
+++ b/src/functionfilesin.cpp
@@ -14,7 +14,7 @@ FunctionFilesIn::~FunctionFilesIn()
14{ 14{
15} 15}
16 16
17void FunctionFilesIn::execute( const StringList &lInput, StringList &lOutput ) 17void FunctionFilesIn::execute( Build *bld, const StringList &lInput, StringList &lOutput )
18{ 18{
19 DIR *d = opendir( lParams.front().c_str() ); 19 DIR *d = opendir( lParams.front().c_str() );
20 if( d == NULL ) 20 if( d == NULL )
@@ -38,3 +38,10 @@ void FunctionFilesIn::execute( const StringList &lInput, StringList &lOutput )
38 closedir( d ); 38 closedir( d );
39} 39}
40 40
41Function *FunctionFilesIn::duplicate( Build &bld, const std::string &cont, VarMap *mExtra )
42{
43 Function *pRet = new FunctionFilesIn();
44 pRet->copyData( this, bld, cont, mExtra );
45 return pRet;
46}
47