iaupdate/IAD/ui/src/iaupdatedeputils.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
    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"
    24 #include "iaupdatenode.h"
    25 #include "iaupdatenode.h"
    25 
    26 
    26 
    27 
    27 // ---------------------------------------------------------------------------
    28 // ---------------------------------------------------------------------------
    28 // IAUpdateDepUtils::GetDependenciesL
    29 // IAUpdateDepUtils::GetDependenciesL
    29 // 
    30 // 
    30 // ---------------------------------------------------------------------------
    31 // ---------------------------------------------------------------------------
    31 //
    32 //
    32 void IAUpdateDepUtils::GetDependenciesL( const MIAUpdateNode& aNode,
    33 void IAUpdateDepUtils::GetDependenciesL( const MIAUpdateNode& aNode,
    33                                          const RPointerArray<MIAUpdateNode>& aAllNodes,  
    34                                          const RPointerArray<MIAUpdateAnyNode>& aAllNodes,  
    34                                          RPointerArray<MIAUpdateNode>& aDependencyNodes ) 
    35                                          RPointerArray<MIAUpdateNode>& aDependencyNodes ) 
    35     {
    36     {
    36     RPointerArray<MIAUpdateNode> dependencies;
    37     RPointerArray<MIAUpdateNode> dependencies;
    37     CleanupClosePushL( dependencies );
    38     CleanupClosePushL( dependencies );
    38     // Include hidden nodes here. So, we can check the whole hierarchy
    39     // Include hidden nodes here. So, we can check the whole hierarchy
    78 // IAUpdateDepUtils::GetDependantsL
    79 // IAUpdateDepUtils::GetDependantsL
    79 // 
    80 // 
    80 // ---------------------------------------------------------------------------
    81 // ---------------------------------------------------------------------------
    81 //    
    82 //    
    82 void IAUpdateDepUtils::GetDependantsL( const MIAUpdateNode& aNode, 
    83 void IAUpdateDepUtils::GetDependantsL( const MIAUpdateNode& aNode, 
    83                                        const RPointerArray<MIAUpdateNode>& aAllNodes,  
    84                                        const RPointerArray<MIAUpdateAnyNode>& aAllNodes,  
    84                                        RPointerArray<MIAUpdateNode>& aDependantNodes ) 
    85                                        RPointerArray<MIAUpdateNode>& aDependantNodes ) 
    85     {
    86     {
    86     RPointerArray<MIAUpdateNode> dependants;
    87     RPointerArray<MIAUpdateNode> dependants;
    87     CleanupClosePushL( dependants );
    88     CleanupClosePushL( dependants );
    88     // Include hidden nodes here. So, we can check the whole hierarchy
    89     // Include hidden nodes here. So, we can check the whole hierarchy