contacts_plat/virtual_phonebook_engine_api/inc/MVPbkContactSelector.h
branchRCL_3
changeset 32 2828b4d142c0
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
--- a/contacts_plat/virtual_phonebook_engine_api/inc/MVPbkContactSelector.h	Tue Apr 27 16:23:35 2010 +0300
+++ b/contacts_plat/virtual_phonebook_engine_api/inc/MVPbkContactSelector.h	Tue May 11 16:00:21 2010 +0300
@@ -58,6 +58,33 @@
 
     };
 
+// Use this UID to access MVPbkOptimizedSelector extension of the MVPbkContactSelector.
+// Used as a parameter to ContactSelectorExtension() method.
+const TUid KVPbkOptimizedSelectorExtensionUid = { 2 };
+
+/**
+ * This class is an extension to MVPbkContactSelector.
+ * See documentation of MVPbkContactSelector from header MVPbkContactSelector.h
+ *
+ * @see MVPbkContactSelector
+ *
+ */
+class MVPbkOptimizedSelector
+    {
+    protected:  // Destructor
+        virtual ~MVPbkOptimizedSelector() { }
+
+    public:
+
+        /**
+         * Vpbk stop calling MVPbkContactSelector::IsContactIncluded if this function returns false.
+         * With this function client can optimize selector use in VPbk.
+         */
+         virtual TBool Continue() const = 0;
+
+    };
+
+	
 #endif  // MVPBKCONTACTSELECTOR_H
 
 //End of file