diff -r c84cf270c54f -r 8871b09be73b phoneuis/dialer/src/cdialerstub.cpp --- a/phoneuis/dialer/src/cdialerstub.cpp Tue Feb 02 00:10:04 2010 +0200 +++ b/phoneuis/dialer/src/cdialerstub.cpp Fri Feb 19 22:50:26 2010 +0200 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007 - 2010 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" @@ -30,11 +30,12 @@ // --------------------------------------------------------------------------- // EXPORT_C CDialer* CDialer::NewL( const CCoeControl& aContainer, - const TRect& aRect ) + const TRect& aRect, + MPhoneDialerController* aController ) { CDialer* self = new( ELeave )CDialer ( ); CleanupStack::PushL( self ); - self->ConstructL( aContainer , aRect ); + self->ConstructL( aContainer , aRect, aController ); CleanupStack::Pop(); // self return self; } @@ -53,12 +54,12 @@ // void CDialer::ConstructL( const CCoeControl& aContainer, - const TRect& aRect ) - { + const TRect& aRect, + MPhoneDialerController* /*aController*/ ) + { // set window SetContainerWindowL( aContainer ); SetParent( const_cast(&aContainer) ); - iParentControl = &aContainer; SetRect( aRect ); } @@ -90,6 +91,41 @@ // Empty } +// ----------------------------------------------------------------------------- +// CDialer::SetControllerL +// ----------------------------------------------------------------------------- +// +EXPORT_C void CDialer::SetControllerL( MPhoneDialerController* /*aController*/ ) + { + // Empty + } + +// --------------------------------------------------------------------------- +// CDialer::Controller +// --------------------------------------------------------------------------- +// +EXPORT_C MPhoneDialerController* CDialer::Controller() + { + return NULL; + } + +// ----------------------------------------------------------------------------- +// CDialer::GetEasyDialingInterface +// ----------------------------------------------------------------------------- +// +EXPORT_C CDialingExtensionInterface* CDialer::GetEasyDialingInterface() const + { + return NULL; + } + +// --------------------------------------------------------------------------- +// CDialer::UpdateToolbar +// --------------------------------------------------------------------------- +// +EXPORT_C void CDialer::UpdateToolbar() + { + // empty + } // Methods from MNumberEntry @@ -226,6 +262,18 @@ { // Empty } + + +// --------------------------------------------------------------------------- +// CDialer::HandleControlEventL +// --------------------------------------------------------------------------- +// +void CDialer::HandleControlEventL( CCoeControl* /*aControl*/, TCoeEvent /*aEventType*/ ) + { + // Empty + } + + // Functions from CCoeControl // ---------------------------------------------------------------------------