uiservicetab/vimpstcmdprocess/inc/mvimpstcmdobserver.h
author Simon Howkins <simonh@symbian.org>
Mon, 29 Nov 2010 11:18:43 +0000
branchRCL_3
changeset 37 7506649dda4d
parent 0 5e5d6b214f4f
permissions -rw-r--r--
Corrected path to files being exported - not in the same dir as bld.inf

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  IM command observer interface
*
*/


#ifndef MVIMPSTCMDOBSERVER_H
#define MVIMPSTCMDOBSERVER_H
#include "tvimpstenums.h"

// FORWARD DECLARATIONS
class MVIMPSTCmd;

// CLASS DECLARATION
/**
 * IM command observer interface.
 * @lib vimpstcmdprocess.dll
 * @since 5.0
 */
class MVIMPSTCmdObserver
    {
    public: // Interface

        /**
         * Notifies the command observer that the command has finished.
         * @param aCommand  The command that was finished.
         */
        virtual void CommandFinishedL(
                const MVIMPSTCmd& aCommand ) = 0;
        /**
         * Notifies the the ui on events from service manager.
         * @param aState  the state of login.
         * @param aServiceError, service error if any.
         */       
        virtual void HandleCommandEventL
        		(TVIMPSTEnums::TVIMPSTRegistrationState aState, TInt aServiceError) = 0;

    protected: // Disabled functions
        /**
         * virtual destructor.
         */  
        virtual ~MVIMPSTCmdObserver()
        {}
    };

#endif // MVIMPSTCMDOBSERVER_H

// End of File