idlehomescreen/inc/mxndomiterator.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2005,2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Interface class for dom iterators
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MXN_DOM_ITERATOR_H
       
    21 #define MXN_DOM_ITERATOR_H
       
    22 
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CXnDomNode;
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  @ingroup group_domdocument
       
    32 *  Mixin class to let us define different iterators for 
       
    33 *  different traversal policies.
       
    34 *
       
    35 *  @lib xndomdocument.lib
       
    36 *  @since Series 60 3.1
       
    37 */
       
    38 class MXnDomIterator
       
    39     {
       
    40    public:  // Destructor
       
    41         
       
    42         /**
       
    43         * Destructor.
       
    44         */
       
    45         virtual ~MXnDomIterator(){}
       
    46 
       
    47     public: // Adding and removing
       
    48     	
       
    49     	/**
       
    50         * Get first i.e root node.
       
    51         * @since Series 60 3.1
       
    52         */
       
    53         virtual CXnDomNode* First()=0;
       
    54     	/**
       
    55         * Get next node.
       
    56         * @since Series 60 3.1
       
    57         */
       
    58         virtual CXnDomNode* NextL()=0;
       
    59         
       
    60     };
       
    61 
       
    62 #endif      // MXN_DOM_ITERATOR_H  
       
    63             
       
    64 // End of File