diff -r 2b7283837edb -r 3104fc151679 uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_vimpststoragecontactlist.h --- a/uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_vimpststoragecontactlist.h Thu Aug 19 09:41:53 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,127 +0,0 @@ -/* -* Copyright (c) 2008 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: Contact list container implementation -* -*/ - - -#ifndef CVIMPSTSTORAGECONTACTLIST_H -#define CVIMPSTSTORAGECONTACTLIST_H - -// INCLUDES -#include "tvimpstenums.h" -#include "mvimpststoragecontactlist.h" - -// FORWARD DECLARATIONS -class CVIMPSTStorageContactSorter; -class MVIMPSTStorageContactsObserver; -class MVIMPSTStorageContactList; -class MVIMPSTStorageContact; - -// CLASS DECLARATION - -/** - * Contact list data implementation - */ -class MyVIMPSTStorageContactListStub : public MVIMPSTStorageContactList - { - - public: - MyVIMPSTStorageContactListStub() - { - - } - /** - * Destructor. - */ - ~MyVIMPSTStorageContactListStub() - { - - } - - - - /** - * @see MVIMPSTStorageContactList - */ - const TDesC& ListId() const; - - /** - * @see MVIMPSTStorageContactList - */ - TPtrC DisplayName() const; - - /** - * @see MVIMPSTStorageContactList - */ - void SetDisplayNameL( const TDesC& aDisplayName ); - - - /** - * @see MVIMPSTStorageContactList - */ - TInt Count() const; - - /** - * @see MVIMPSTContactList - */ - MVIMPSTStorageContact& operator[]( TInt aIndex ) const; - - /** - * @see MVIMPSTStorageContactList - */ - MVIMPSTStorageContact& FilteredContact( - TInt aIndex, TVIMPSTEnums::TFilterType aFilter ) const; - - /** - * @see MVIMPSTStorageContactList - */ - TInt FilteredCount( - TVIMPSTEnums::TFilterType aFilter ) const; - - - /** - * @see MVIMPSTStorageContactList - */ - void Sort(); - - /** - * @see MVIMPSTStorageContactList - */ - void ResortContact( MVIMPSTStorageContact* aContact ); - - /** - * @see MVIMPSTStorageContactList - */ - void ResortUnKnownContact( MVIMPSTStorageContact* aContact ); - - /** - * @see MVIMPSTStorageContactList - */ - TInt FindIndexOfContact( - const MVIMPSTStorageContact* aContact, - TVIMPSTEnums::TFilterType aFilter = - TVIMPSTEnums::EFilterAll ) const; - - /** - * @see MVIMPSTStorageContactList - */ - TBool FilterAllowsContact( const MVIMPSTStorageContact* aContact, - TVIMPSTEnums::TFilterType aFilter ) const; - - }; - -#endif // CVIMPSTSTORAGECONTACTLIST_H - -// End of File