author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Wed, 28 Apr 2010 13:15:16 +0300 | |
branch | RCL_3 |
changeset 15 | b25b6dc3ff8b |
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 |
} |