examples/Telephony/ETel3rdPartyExample/Shared/CISVAPIBase.cpp

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 #include "CISVAPIBase.h"
00017 
00025 CISVAPIBase::CISVAPIBase(MExecController* aController, TTelISVExampleType aExampleType)
00026         : CActive(EPriorityStandard),
00027           iController(aController),
00028           iExampleType(aExampleType)
00029         {
00030         CActiveScheduler::Add(this);
00031         RetrieveConsole();
00032         RetrieveTelephonyObject();
00033         }
00034 
00038 void CISVAPIBase::RequestNotificationL()
00039         {
00040         DoRequestNotificationL();
00041         }
00042 
00046 void CISVAPIBase::DoRequestNotificationL()
00047         {
00048         /*
00049          Implement CISVAPIBase::DoRequestNotificationL() in any derived
00050              classes if required
00051         */
00052         }
00053 
00057 void CISVAPIBase::StartRequestL()
00058         {
00059         DoStartRequestL();
00060         }
00061 
00065 void CISVAPIBase::DoStartRequestL()
00066         {
00067         /*
00068          Implement CISVAPIBase::DoStartRequestL() in any derived classes if 
00069              required
00070         */
00071         }
00072 
00078 void CISVAPIBase::StartRequestL(CTelephony::TCallId aCallId)
00079         {
00080         DoStartRequestL(aCallId);
00081         }
00082 
00088 void CISVAPIBase::DoStartRequestL(CTelephony::TCallId /*aCallId*/)
00089         {
00090         /*
00091          Implement CISVAPIBase::DoStartRequestL(CTelephony::TCallId aCallId)
00092              in any derived classes if required
00093         */
00094         }
00095 
00101 void CISVAPIBase::StartRequestL(const TDesC& aTones)
00102         {
00103         DoStartRequestL(aTones);
00104         }
00105 
00111 void CISVAPIBase::DoStartRequestL(const TDesC& /*aNumber*/)
00112         {
00113         /*
00114          Implement CISVAPIBase::DoStartRequestL(const TDesC& aNumber) in any 
00115              derived classes if required
00116         */
00117         }
00118 
00125 void CISVAPIBase::StartRequestL(CTelephony::TCallId aCallId1,
00126                                        CTelephony::TCallId aCallId2)
00127         {
00128         DoStartRequestL(aCallId1, aCallId2);
00129         }
00130 
00137 void CISVAPIBase::DoStartRequestL(CTelephony::TCallId /*aCallId1*/,
00138                                       CTelephony::TCallId /*aCallId2*/)
00139         {
00140         /*
00141          Implement CISVAPIBase::DoStartRequestL(CTelephony::TCallId aCallId1, 
00142              CTelephony::TCallId aCallId2) in any derived classes if required
00143         */
00144         }
00145 
00150 void CISVAPIBase::AppTerminate()
00151         {
00152         iController->Terminate();
00153         }
00154 

Generated by  doxygen 1.6.2