phoneclientserver/phoneserver/Inc/Ussd/MPhSrvUssdNetworkObserver.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:15:03 +0100
branchRCL_3
changeset 20 987c9837762f
parent 0 ff3b6d0fd310
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2002 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:  Abstract interface for observing network message events.
*
*/

#ifndef MPHSRVUSSDNETWORKOBSERVER_H
#define MPHSRVUSSDNETWORKOBSERVER_H


// CLASS DECLARATION

/**
*  Abstract interface for observing network message events.
*
*  @since 1.0
*/
class MPhSrvUssdNetworkObserver
    {
    public: // New functions

        /**
        * Called when a message has been sent.
        * 
        * @param aError Complete code.
        */
        virtual void UssdNetworkObserverHandleSendEventL( TInt aError ) = 0;
        
        /**
        * Called when a message has been received.
        * 
        * @param aMessage Received message.
        * @param aIsRequest ETrue if is a request.
        * @param aError Error code of the operation.
        */
        virtual void UssdNetworkObserverHandleReceivedEventL(
            const TDes8& aMsgData, 
            const RMobileUssdMessaging::TMobileUssdAttributesV1& aMsgAttributes,
            TInt aError ) = 0;
            
       virtual void UssdNetworkObserverHandleNotifyNWReleaseL(
            const RMobilePhone::TMobilePhoneSendSSRequestV3& aReturnResult, 
            TInt aError ) = 0;
    };

#endif // MPHSRVUSSDNETWORKOBSERVER_H


// End of File