predictivesearch/adapters/contacts/inc/CPsContactDataAdapter.h
branchRCL_3
changeset 12 4ae315f230bc
parent 0 e686773b3f54
equal deleted inserted replaced
11:2828b4d142c0 12:4ae315f230bc
    42 	public: 
    42 	public: 
    43 	
    43 	
    44 	    /**
    44 	    /**
    45 		 * Two phase construction
    45 		 * Two phase construction
    46 		 */
    46 		 */
    47 		static CPsContactDataAdapter* NewL(TAny* aPsDataPluginParameters);
    47 		static CPsContactDataAdapter* NewL( TAny* aPsDataPluginParameters );
    48 
    48 
    49         /**
    49         /**
    50 		 * Destructor
    50 		 * Destructor
    51 		 */
    51 		 */
    52 		virtual ~CPsContactDataAdapter();
    52 		virtual ~CPsContactDataAdapter();
    57 	    * Requests for data from this store
    57 	    * Requests for data from this store
    58 	    * The adapters need to pass an instance of the observer. The data 
    58 	    * The adapters need to pass an instance of the observer. The data 
    59 	    * to the algorithm is provided via the observer callback 
    59 	    * to the algorithm is provided via the observer callback 
    60 	    * @param aDataStoreURI - The store from which data is requested
    60 	    * @param aDataStoreURI - The store from which data is requested
    61 	    */
    61 	    */
    62 		void  RequestForDataL(TDesC& aDataStoreURI );
    62 		void  RequestForDataL( TDesC& aDataStoreURI );
    63 		
    63 		
    64 		/**
    64 		/**
    65 	    * Checks if the given data store is supported.
    65 	    * Checks if the given data store is supported.
    66 	    * @param aDataStoreURI - data store
    66 	    * @param aDataStoreURI - data store
    67 	    * @return True if this store is supported        
    67 	    * @return True if this store is supported
    68 	    */  
    68 	    */  
    69 	    TBool IsDataStoresSupportedL( TDesC& aDataStoreURI ) ;
    69 	    TBool IsDataStoresSupportedL( TDesC& aDataStoreURI ) ;
    70 	          
    70 	          
    71 	    /**
    71 	    /**
    72 	    * Gets the supported data stores URIs
    72 	    * Gets the supported data stores URIs
    73 	    * 
    73 	    * 
    74 	    * @param aDataStores supported data stores URIs
    74 	    * @param aDataStores supported data stores URIs
    75 	    *         
    75 	    *         
    76 	    */  
    76 	    */  
    77 	    void GetSupportedDataStoresL( RPointerArray<TDesC> &aDataStoresURIs );
    77 	    void GetSupportedDataStoresL( RPointerArray<TDesC>& aDataStoresURIs );
    78 	    
    78 	    
    79 		/**
    79 		/**
    80 	    * Gets the supported data fields.
    80 	    * Gets the supported data fields.
    81 	    * @param aDataFields supported data fields.         
    81 	    * @param aDataFields supported data fields.
    82 	    */ 
    82 	    */ 
    83 		void GetSupportedDataFieldsL(RArray<TInt> &aDataFields );
    83 		void GetSupportedDataFieldsL( RArray<TInt>& aDataFields );
    84 	
    84 	
    85 	private:
    85 	private:
    86 	
    86 	
    87 	    /**
    87 	    /**
    88 	    * Constructor
    88 	    * Constructor