19 |
19 |
20 |
20 |
21 // INCLUDES |
21 // INCLUDES |
22 #include "iaupdatedeputils.h" |
22 #include "iaupdatedeputils.h" |
23 #include "iaupdatebasenode.h" |
23 #include "iaupdatebasenode.h" |
24 #include "iaupdateanynode.h" |
|
25 #include "iaupdatenode.h" |
24 #include "iaupdatenode.h" |
26 |
25 |
27 |
26 |
28 // --------------------------------------------------------------------------- |
27 // --------------------------------------------------------------------------- |
29 // IAUpdateDepUtils::GetDependenciesL |
28 // IAUpdateDepUtils::GetDependenciesL |
30 // |
29 // |
31 // --------------------------------------------------------------------------- |
30 // --------------------------------------------------------------------------- |
32 // |
31 // |
33 void IAUpdateDepUtils::GetDependenciesL( const MIAUpdateNode& aNode, |
32 void IAUpdateDepUtils::GetDependenciesL( const MIAUpdateNode& aNode, |
34 const RPointerArray<MIAUpdateAnyNode>& aAllNodes, |
33 const RPointerArray<MIAUpdateNode>& aAllNodes, |
35 RPointerArray<MIAUpdateNode>& aDependencyNodes ) |
34 RPointerArray<MIAUpdateNode>& aDependencyNodes ) |
36 { |
35 { |
37 RPointerArray<MIAUpdateNode> dependencies; |
36 RPointerArray<MIAUpdateNode> dependencies; |
38 CleanupClosePushL( dependencies ); |
37 CleanupClosePushL( dependencies ); |
39 // Include hidden nodes here. So, we can check the whole hierarchy |
38 // Include hidden nodes here. So, we can check the whole hierarchy |
79 // IAUpdateDepUtils::GetDependantsL |
78 // IAUpdateDepUtils::GetDependantsL |
80 // |
79 // |
81 // --------------------------------------------------------------------------- |
80 // --------------------------------------------------------------------------- |
82 // |
81 // |
83 void IAUpdateDepUtils::GetDependantsL( const MIAUpdateNode& aNode, |
82 void IAUpdateDepUtils::GetDependantsL( const MIAUpdateNode& aNode, |
84 const RPointerArray<MIAUpdateAnyNode>& aAllNodes, |
83 const RPointerArray<MIAUpdateNode>& aAllNodes, |
85 RPointerArray<MIAUpdateNode>& aDependantNodes ) |
84 RPointerArray<MIAUpdateNode>& aDependantNodes ) |
86 { |
85 { |
87 RPointerArray<MIAUpdateNode> dependants; |
86 RPointerArray<MIAUpdateNode> dependants; |
88 CleanupClosePushL( dependants ); |
87 CleanupClosePushL( dependants ); |
89 // Include hidden nodes here. So, we can check the whole hierarchy |
88 // Include hidden nodes here. So, we can check the whole hierarchy |