iaupdate/IAD/engine/controller/inc/iaupdatenodeimpl.h
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 /*
     1 /*
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   135      * If it is not set, it returns zero.
   135      * If it is not set, it returns zero.
   136      *
   136      *
   137      * @see MIAUpdateNode::Depth
   137      * @see MIAUpdateNode::Depth
   138      */
   138      */
   139     virtual TInt Depth() const;
   139     virtual TInt Depth() const;
   140     
   140 
   141     virtual void SetUiState( TUIUpdateState aState );
       
   142         
       
   143     virtual TUIUpdateState UiState() const;
       
   144         
       
   145     // for progress bar in UI
       
   146     virtual void SetProgress( TInt aProgress );
       
   147         
       
   148     virtual TInt Progress() const; 
       
   149         
       
   150     virtual void SetTotal( TInt aTotal );
       
   151         
       
   152     virtual TInt Total() const; 
       
   153                
       
   154     /**
   141     /**
   155      * @see MIAUpdateNode:::NodeType
   142      * @see MIAUpdateNode:::NodeType
   156      */
   143      */
   157     virtual TNodeType NodeType() const;
   144     virtual TNodeType NodeType() const;
   158     
   145     
   334 private: // data
   321 private: // data
   335 
   322 
   336     TDependencyCheckStatus              iDependencyCheckStatus;
   323     TDependencyCheckStatus              iDependencyCheckStatus;
   337     TInt                                iLeafDistance;
   324     TInt                                iLeafDistance;
   338     TInt                                iDepth;
   325     TInt                                iDepth;
   339     TUIUpdateState                      iUiUpdateState;
   326 
   340     TInt                                iProgress;
       
   341     TInt                                iTotal;
       
   342     
       
   343     // These arrays do not own the nodes.
   327     // These arrays do not own the nodes.
   344     RPointerArray< CIAUpdateNode >      iDependants;
   328     RPointerArray< CIAUpdateNode >      iDependants;
   345     RPointerArray< CIAUpdateNode >      iExcessDependencyNodes;
   329     RPointerArray< CIAUpdateNode >      iExcessDependencyNodes;
   346 
   330 
   347     // Not owned.
   331     // Not owned.