author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Thu, 08 Apr 2010 14:19:33 +0300 | |
branch | RCL_3 |
changeset 7 | 3f74d0d4af4c |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
#! [0] |
2 |
defineTest(allFiles) { |
|
3 |
files = $$ARGS |
|
4 |
||
5 |
for(file, files) { |
|
6 |
!exists($$file) { |
|
7 |
return(false) |
|
8 |
} |
|
9 |
} |
|
10 |
return(true) |
|
11 |
} |
|
12 |
#! [0] |
|
13 |
||
14 |
files = delegate.h model.h view.h |
|
15 |
||
16 |
allFiles($$files) { |
|
17 |
message(All files are present: $$files) |
|
18 |
} else { |
|
19 |
message(Not all files are present: $$files) |
|
20 |
} |