S60 3rd Edition SDK for Symbian OS
Example Applications Guide

IsvTelInfoAppTelephonyNotify.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : MIsvTelInfoAppTelephonyNotify.h
00004 *  Part of     : IsvTelInfoApp
00005 *  Interface   : 
00006 *  Description : An interface class is notified when an async telephony command
00007 *  execution is completed.
00008 *  Version     : 
00009 *
00010 *  Copyright (c) 2005-2006 Nokia Corporation.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia Corporation.
00014 * ==============================================================================
00015 */
00016 
00017 #ifndef ISVTELINFOAPP_TELEPHONY_NOTIFY_H
00018 #define ISVTELINFOAPP_TELEPHONY_NOTIFY_H
00019 
00020 //INCLUDES
00021 #include <etel3rdparty.h>
00022 
00023 //CLASS DEFINITIONS
00024 /**
00025 * MIsvTelInfoAppTelephonyNotify: This class specifies an interface that should
00026 * be implemented by a class if it wants to get notified on completion of async
00027 * telephony commands
00028 */
00029 class MIsvTelInfoAppTelephonyNotify
00030 {
00031     public:
00032        /**
00033         * Pure virtual functions 
00034         */
00035        /** 
00036         * Gets invoked once command completion notification from 
00037         * GetPhoneId ETel API is received.
00038         * @param aStatus, specifies SUCCESS or Error code
00039         * @param aPhoneId, Contains Phone Id
00040         * @param aErrMsg, contains the error message returned by ETel API        
00041         */
00042         virtual void GetPhoneIdApiCompleteL(TInt aStatus, 
00043             CTelephony::TPhoneIdV1 aPhoneId, TDesC16& aErrMsg) = 0;
00044         
00045        /** 
00046         * Gets invoked once command completion notification from 
00047         * GetSubscriberId ETel API is received.
00048         * @param aStatus, specifies SUCCESS or Error code
00049         * @param aSubscriberId, contains Subscriber Id
00050         * @param aErrMsg, contains the error message returned by ETel API        
00051         */
00052         virtual void GetSubscriberIdApiCompleteL(TInt aStatus, 
00053             CTelephony::TSubscriberIdV1 aSubscriberId, TDesC16& aErrMsg) = 0;
00054         
00055        /** 
00056         * Gets invoked once command completion notification from 
00057         * GetNwRegistrationStatus ETel API is received.
00058         * @param aStatus, specifies SUCCESS or Error code
00059         * @param aNwRegistrationStatus Contains current network 
00060         * registration status.
00061         * @param aErrMsg, contains the error message returned by ETel API        
00062         */
00063         virtual void GetNwRegistrationStatusApiCompleteL(TInt aStatus, 
00064             CTelephony::TNetworkRegistrationV1 aNwRegistrationStatus, 
00065             TDesC16& aErrMsg) = 0;
00066         
00067        /** 
00068         * Gets invoked once command completion notification from 
00069         * GetBarringStatus ETel API is received.
00070         * @param aStatus, specifies SUCCESS or Error code
00071         * @param aBarringCondition,
00072         * contains barring condition 
00073         * @param aCallBarringServices Contains information about the 
00074         * call barring service.       
00075         * @param aErrMsg, contains the error message returned by ETel API        
00076         */
00077         virtual void GetBarringStatusApiCompleteL( 
00078             TInt aStatus,
00079             CTelephony::TCallBarringCondition aBarringCondition, 
00080             CTelephony::TCallBarringSupplServicesV1 aCallBarringServices,
00081             TDesC16& aErrMsg ) = 0;     
00082                                         
00083        /** 
00084         * Gets invoked once command completion notification from 
00085         * GetWaitingStatus ETel API is received.
00086         * @param aStatus, specifies SUCCESS or Error code
00087         * @param aCallWaitingServices Contains information about the 
00088         * call waiting service.
00089         * @param aErrMsg, contains the error message returned by ETel API        
00090         */
00091         virtual void GetWaitingStatusApiCompleteL(TInt aStatus, 
00092             CTelephony::TCallWaitingSupplServicesV1 aCallWaitingServices, 
00093             TDesC16& aErrMsg ) = 0;
00094         
00095        /** 
00096         * Gets invoked once command completion notification from 
00097         * GetIdentityServiceStatus ETel API is received.
00098         * @param aStatus, specifies SUCCESS or Error code
00099         * @param aIdentityServiceType,
00100         * contains identity serivce type        
00101         * @param aIdentityService Conatins call identity service status.
00102         * @param aErrMsg, contains the error message returned by ETel API        
00103         */
00104         virtual void GetIdentityServiceStatusApiCompleteL( 
00105             TInt aStatus, 
00106             CTelephony::TIdentityService aIdentityServiceType,
00107             CTelephony::TIdentityServiceV1 aIdentityService,
00108             TDesC16& aErrMsg ) = 0;
00109         };
00110 
00111 #endif // ISVTELINFOAPP_TELEPHONY_NOTIFY_H
00112 
00113 //End of file

© Nokia 2006

Back to top