diff -r c8382f7b54ef -r 726fba06891a emailuis/emailui/inc/FreestyleEmailUiContactHandler.h --- a/emailuis/emailui/inc/FreestyleEmailUiContactHandler.h Wed Sep 15 11:52:37 2010 +0300 +++ b/emailuis/emailui/inc/FreestyleEmailUiContactHandler.h Wed Oct 13 14:11:15 2010 +0300 @@ -259,13 +259,15 @@ * @param aObserver = observer to collect results */ void GetAddressesFromPhonebookL( MFSEmailUiContactHandlerObserver* aObserver ); - + + // video call /** * Enables/disables video call. * * @param aState ETrue for 'enable', EFalse for 'disable' */ void SetVideoCall( TBool aState ); + // // from base class MFSEmailUiClsListsObserver @@ -275,14 +277,18 @@ // from base class MVPbkSingleContactOperationObserver void VPbkSingleContactOperationCompleteL( - MVPbkContactOperationBase& aOperation, MVPbkStoreContact* aContact ); - void VPbkSingleContactOperationComplete( - MVPbkContactOperationBase& aOperation, MVPbkStoreContact* aContact ); - - void VPbkSingleContactOperationFailedL( - MVPbkContactOperationBase& aOperation, TInt aError ); - void VPbkSingleContactOperationFailed( - MVPbkContactOperationBase& aOperation, TInt aError ); + MVPbkContactOperationBase& aOperation, + MVPbkStoreContact* aContact ); + + + void VPbkSingleContactOperationComplete( + MVPbkContactOperationBase& aOperation, + MVPbkStoreContact* aContact ); + + void VPbkSingleContactOperationFailedL( + MVPbkContactOperationBase& aOperation, TInt aError ); + void VPbkSingleContactOperationFailed( + MVPbkContactOperationBase& aOperation, TInt aError ); // from base class MVPbkContactStoreListObserver @@ -340,12 +346,6 @@ // from MCCAObserver void CCASimpleNotifyL( TNotifyType aType, TInt aReason ); - TUid GetDetailsViewUid(); - TUid GetDetailsAppUid(); - TBool WasDetailsClosed(); - void CloseContactDetailsL(); - void ReopenContactDetailsL(RWsSession&); - private: CFSEmailUiContactHandler( RFs& aSession ); @@ -354,21 +354,18 @@ // call observer's MFSEmailUiContactHandlerObserver::OperationErrorL( TContactHandlerCmd aCmd, TInt aError ) void ObserverOperationErrorL( TContactHandlerCmd aCmd, TInt aErrorCode ); + private: - - TInt SelectBetweenCsAndVoip() const; + + TInt SelectBetweenCsAndVoip() const; void HandleCallL( const RPointerArray& aMatchingItems ); - - void CreateMessageL( const RPointerArray& aMatchingItems ); - void SendMessageL( CAiwGenericParamList& aEventParamList, TInt aServiceType ); - void GetSmsAddressFromPhonebookAndSendL( MVPbkContactLink* aContactLink ); - void GetMmsAddressFromPhonebookAndSendL( MVPbkContactLink* aContactLink, - TBool aIsVoiceMessage = EFalse ); - - // Starts retrieving addresses from contact stores. - void RetrieveContactsL(); - + + void CreateMessageL( const RPointerArray& aMatchingItems ); + void SendMessageL( CAiwGenericParamList& aEventParamList, TInt aServiceType ); + void GetSmsAddressFromPhonebookAndSendL( MVPbkContactLink* aContactLink ); + void GetMmsAddressFromPhonebookAndSendL( MVPbkContactLink* aContactLink, TBool aIsVoiceMessage = EFalse ); + TBool IsRemoteLookupSupported(); void GetContactFieldsL( RArray& aFieldIds, RPointerArray& aNumbers, @@ -459,9 +456,6 @@ // Flag for making video call TBool iVideoCall; - // flag to check if it was remotely closed (using CloseContactDetailsL method) - TBool iContactDetailsClosed; - // connection to CCMA launcher MCCAConnection* iConnection;