author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
/* |
williamr@4 | 2 |
* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). |
williamr@4 | 3 |
* All rights reserved. |
williamr@4 | 4 |
* This component and the accompanying materials are made available |
williamr@4 | 5 |
* under the terms of "Eclipse Public License v1.0" |
williamr@4 | 6 |
* which accompanies this distribution, and is available |
williamr@4 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@4 | 8 |
* |
williamr@4 | 9 |
* Initial Contributors: |
williamr@4 | 10 |
* Nokia Corporation - initial contribution. |
williamr@4 | 11 |
* |
williamr@4 | 12 |
* Contributors: |
williamr@4 | 13 |
* |
williamr@4 | 14 |
* Description: Virtual Phonebook contact selector interface for a |
williamr@4 | 15 |
* filtered view, CVPbkFilteredContactView . |
williamr@4 | 16 |
* |
williamr@4 | 17 |
*/ |
williamr@4 | 18 |
|
williamr@4 | 19 |
|
williamr@4 | 20 |
#ifndef MVPBKCONTACTSELECTOR_H |
williamr@4 | 21 |
#define MVPBKCONTACTSELECTOR_H |
williamr@4 | 22 |
|
williamr@4 | 23 |
// INCLUDES |
williamr@4 | 24 |
#include <e32cmn.h> |
williamr@4 | 25 |
|
williamr@4 | 26 |
// FORWARD DECLARATIONS |
williamr@4 | 27 |
class MVPbkBaseContact; |
williamr@4 | 28 |
|
williamr@4 | 29 |
// CLASS DECLARATIONS |
williamr@4 | 30 |
|
williamr@4 | 31 |
/** |
williamr@4 | 32 |
* Virtual Phonebook contact selector interface. |
williamr@4 | 33 |
* This inteface is used to create a contact selector object, |
williamr@4 | 34 |
*/ |
williamr@4 | 35 |
class MVPbkContactSelector |
williamr@4 | 36 |
{ |
williamr@4 | 37 |
public: // Interface |
williamr@4 | 38 |
/** |
williamr@4 | 39 |
* Returns true if aContact belongs to the set defined |
williamr@4 | 40 |
* by this contact selector. |
williamr@4 | 41 |
* |
williamr@4 | 42 |
* @param aContact The contact to check. |
williamr@4 | 43 |
* @return ETrue if contact is included. |
williamr@4 | 44 |
*/ |
williamr@4 | 45 |
virtual TBool IsContactIncluded( |
williamr@4 | 46 |
const MVPbkBaseContact& aContact ) = 0; |
williamr@4 | 47 |
|
williamr@4 | 48 |
/** |
williamr@4 | 49 |
* Returns an extension point for this interface or NULL. |
williamr@4 | 50 |
* @param aExtensionUid Uid of extension. |
williamr@4 | 51 |
* @return Extension point or NULL. |
williamr@4 | 52 |
*/ |
williamr@4 | 53 |
virtual TAny* ContactSelectorExtension( |
williamr@4 | 54 |
TUid /*aExtensionUid*/) { return NULL; } |
williamr@4 | 55 |
|
williamr@4 | 56 |
protected: |
williamr@4 | 57 |
virtual ~MVPbkContactSelector() { } |
williamr@4 | 58 |
|
williamr@4 | 59 |
}; |
williamr@4 | 60 |
|
williamr@4 | 61 |
#endif // MVPBKCONTACTSELECTOR_H |
williamr@4 | 62 |
|
williamr@4 | 63 |
//End of file |