phonebookui/Phonebook2/CommonUI/inc/CPbk2NonTopContactSelector.h
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPBK2NONTOPCONTACTSELECTOR_H
       
    20 #define CPBK2NONTOPCONTACTSELECTOR_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <MVPbkContactSelector.h>
       
    25 
       
    26 //  FORWARD DECLARATIONS
       
    27 
       
    28 //  CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  */
       
    32 class CPbk2NonTopContactSelector : public CBase,
       
    33                                    public MVPbkContactSelector,
       
    34                                    public MVPbkOptimizedSelector
       
    35     {
       
    36     public:
       
    37 
       
    38         static CPbk2NonTopContactSelector* NewL();
       
    39 
       
    40 
       
    41         ~CPbk2NonTopContactSelector();
       
    42 
       
    43     public: // From MVPbkContactSelector
       
    44 
       
    45         TBool IsContactIncluded(
       
    46             const MVPbkBaseContact& aContact );
       
    47        
       
    48         TAny* ContactSelectorExtension(
       
    49             TUid aExtensionUid); 
       
    50 			
       
    51     private: // From MVPbkOptimizedSelector
       
    52         TBool Continue() const;
       
    53         
       
    54     private:
       
    55         CPbk2NonTopContactSelector();
       
    56     private:
       
    57         TBool iContinue;
       
    58     };
       
    59 
       
    60 
       
    61 #endif // CPBK2NONTOPCONTACTSELECTOR_H
       
    62 
       
    63 // End of File