phonebookui/Phonebook2/CommonUI/inc/CPbk2NonTopContactSelector.h
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/CommonUI/inc/CPbk2NonTopContactSelector.h	Wed Sep 01 12:29:52 2010 +0100
@@ -0,0 +1,63 @@
+/*
+* Copyright (c) 2005-2007 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:  
+*
+*/
+
+
+#ifndef CPBK2NONTOPCONTACTSELECTOR_H
+#define CPBK2NONTOPCONTACTSELECTOR_H
+
+//  INCLUDES
+#include <e32base.h>
+#include <MVPbkContactSelector.h>
+
+//  FORWARD DECLARATIONS
+
+//  CLASS DECLARATION
+
+/**
+ */
+class CPbk2NonTopContactSelector : public CBase,
+                                   public MVPbkContactSelector,
+                                   public MVPbkOptimizedSelector
+    {
+    public:
+
+        static CPbk2NonTopContactSelector* NewL();
+
+
+        ~CPbk2NonTopContactSelector();
+
+    public: // From MVPbkContactSelector
+
+        TBool IsContactIncluded(
+            const MVPbkBaseContact& aContact );
+       
+        TAny* ContactSelectorExtension(
+            TUid aExtensionUid); 
+			
+    private: // From MVPbkOptimizedSelector
+        TBool Continue() const;
+        
+    private:
+        CPbk2NonTopContactSelector();
+    private:
+        TBool iContinue;
+    };
+
+
+#endif // CPBK2NONTOPCONTACTSELECTOR_H
+
+// End of File