tsrc/provisioningenginestub/inc/mwpvisitor.h
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Declares visitor interface for Provisioning data.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MWPVISITOR_H
       
    20 #define MWPVISITOR_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class CWPCharacteristic;
       
    24 class CWPParameter;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * MWPVisitor has to be implemented by visitors.
       
    30 *
       
    31 *  @lib ProvisioningEngine
       
    32 *  @since 2.0
       
    33  */ 
       
    34 class MWPVisitor 
       
    35     {
       
    36     public:
       
    37         /**
       
    38         * Called for each characteristic found.
       
    39         * @param aCharacteristic The characteristic found
       
    40         */
       
    41         virtual void VisitL(CWPCharacteristic& aCharacteristic) = 0;
       
    42         
       
    43         /**
       
    44         * Called for each parameter found.
       
    45         * @param aParameter The parameter found
       
    46         */
       
    47         virtual void VisitL(CWPParameter& aParameter) = 0;
       
    48 
       
    49         /**
       
    50         * Called for each link to a logical proxy or access point.
       
    51         * @param aCharacteristic The characteristic found by following the link.
       
    52         */
       
    53         virtual void VisitLinkL(CWPCharacteristic& aCharacteristic ) = 0;
       
    54     };
       
    55 
       
    56 #endif /* MWPVISITOR_H */