diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-08 22:58:28 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-08 22:58:28 +0000 |
commit | 52be1ef0d126f09ba943c7afcf367e7d9347f2fd (patch) | |
tree | fd4b0dd148751c3c6c1b95296c3b82cb86051b83 /src/functiontargets.cpp | |
parent | 795d0737fed40d88a7801b451b7750ba90802345 (diff) | |
download | build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.gz build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.bz2 build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.xz build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.zip |
tabconv: it's all spaces now.
Diffstat (limited to 'src/functiontargets.cpp')
-rw-r--r-- | src/functiontargets.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/functiontargets.cpp b/src/functiontargets.cpp index 3fd145e..ad92376 100644 --- a/src/functiontargets.cpp +++ b/src/functiontargets.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | #include <bu/plugger.h> | 5 | #include <bu/plugger.h> |
6 | PluginInterface3( pluginFunctionTargets, targets, FunctionTargets, Function, | 6 | PluginInterface3( pluginFunctionTargets, targets, FunctionTargets, Function, |
7 | "Mike Buland", 0, 1 ); | 7 | "Mike Buland", 0, 1 ); |
8 | 8 | ||
9 | FunctionTargets::FunctionTargets() | 9 | FunctionTargets::FunctionTargets() |
10 | { | 10 | { |
@@ -16,28 +16,28 @@ FunctionTargets::~FunctionTargets() | |||
16 | 16 | ||
17 | Bu::String FunctionTargets::getName() const | 17 | Bu::String FunctionTargets::getName() const |
18 | { | 18 | { |
19 | return "targets"; | 19 | return "targets"; |
20 | } | 20 | } |
21 | 21 | ||
22 | Variable FunctionTargets::call( Variable &/*input*/, VarList lParams ) | 22 | Variable FunctionTargets::call( Variable &/*input*/, VarList lParams ) |
23 | { | 23 | { |
24 | Variable vRet( Variable::typeList ); | 24 | Variable vRet( Variable::typeList ); |
25 | TargetList lTrg; | 25 | TargetList lTrg; |
26 | if( lParams.getSize() == 0 ) | 26 | if( lParams.getSize() == 0 ) |
27 | { | 27 | { |
28 | lTrg = pContext->getExplicitTargets(); | 28 | lTrg = pContext->getExplicitTargets(); |
29 | } | 29 | } |
30 | else | 30 | else |
31 | { | 31 | { |
32 | lTrg = pContext->getTag( lParams.first().toString() ); | 32 | lTrg = pContext->getTag( lParams.first().toString() ); |
33 | } | 33 | } |
34 | for( TargetList::const_iterator i = lTrg.begin(); i; i++ ) | 34 | for( TargetList::const_iterator i = lTrg.begin(); i; i++ ) |
35 | { | 35 | { |
36 | for( StrList::const_iterator j = (*i)->getOutputList().begin(); j; j++ ) | 36 | for( StrList::const_iterator j = (*i)->getOutputList().begin(); j; j++ ) |
37 | { | 37 | { |
38 | vRet.append( *j ); | 38 | vRet.append( *j ); |
39 | } | 39 | } |
40 | } | 40 | } |
41 | return vRet; | 41 | return vRet; |
42 | } | 42 | } |
43 | 43 | ||