uiservicetab/vimpstcmdprocess/inc/mvimpstcmdobserver.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2008 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:  IM command observer interface
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MVIMPSTCMDOBSERVER_H
       
    20 #define MVIMPSTCMDOBSERVER_H
       
    21 #include "tvimpstenums.h"
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class MVIMPSTCmd;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28  * IM command observer interface.
       
    29  * @lib vimpstcmdprocess.dll
       
    30  * @since 5.0
       
    31  */
       
    32 class MVIMPSTCmdObserver
       
    33     {
       
    34     public: // Interface
       
    35 
       
    36         /**
       
    37          * Notifies the command observer that the command has finished.
       
    38          * @param aCommand  The command that was finished.
       
    39          */
       
    40         virtual void CommandFinishedL(
       
    41                 const MVIMPSTCmd& aCommand ) = 0;
       
    42         /**
       
    43          * Notifies the the ui on events from service manager.
       
    44          * @param aState  the state of login.
       
    45          * @param aServiceError, service error if any.
       
    46          */       
       
    47         virtual void HandleCommandEventL
       
    48         		(TVIMPSTEnums::TVIMPSTRegistrationState aState, TInt aServiceError) = 0;
       
    49 
       
    50     protected: // Disabled functions
       
    51         /**
       
    52          * virtual destructor.
       
    53          */  
       
    54         virtual ~MVIMPSTCmdObserver()
       
    55         {}
       
    56     };
       
    57 
       
    58 #endif // MVIMPSTCMDOBSERVER_H
       
    59 
       
    60 // End of File