phoneengine/PhoneCntFinder/inc/Misc/CPhCntRfsHandler.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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:  Provides interface to restore factory settings.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPHCNTRFSHANDLER_H
       
    20 #define CPHCNTRFSHANDLER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include    <e32base.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  It provides interface to restore factory settings.
       
    29 *
       
    30 *  @lib PhoneCntFinder
       
    31 *  @since 1.0
       
    32 */
       
    33 class CPhCntRfsHandler
       
    34     : public CBase
       
    35     {
       
    36     public: // New functions       
       
    37 
       
    38         /**
       
    39         * It enumerates different types of commands.
       
    40         *
       
    41         * ERfsCmdActivateNormal - normal rfs
       
    42         * ERfsCmdActivateDeep - deep rfs
       
    43         * ERfsCmdCancel - cancel whatever you are doing
       
    44         */
       
    45         enum TRfsCommand
       
    46             {
       
    47             ERfsCmdActivateNormal,
       
    48             ERfsCmdActivateDeep,
       
    49             ERfsCmdCancel
       
    50             };
       
    51         
       
    52         /**
       
    53         * Perform command.
       
    54         *
       
    55         * @param aCommand command to be performed.
       
    56         */
       
    57         virtual void ProcessCommandL( TRfsCommand aCommand ) = 0;
       
    58 
       
    59     };
       
    60 
       
    61 #endif      // CPHCNTRFSHANDLER_H
       
    62             
       
    63 // End of File