phonebookui/Phonebook2/UIControls/inc/CPbk2FetchResults.h
branchRCL_3
changeset 18 d4f567ce2e7c
parent 0 e686773b3f54
equal deleted inserted replaced
17:2666d9724c76 18:d4f567ce2e7c
    33 class MVPbkContactStoreList;
    33 class MVPbkContactStoreList;
    34 class MPbk2FetchDlg;
    34 class MPbk2FetchDlg;
    35 class MPbk2FetchDlgPages;
    35 class MPbk2FetchDlgPages;
    36 class MPbk2FetchDlgObserver;
    36 class MPbk2FetchDlgObserver;
    37 class MPbk2FetchResultsObserver;
    37 class MPbk2FetchResultsObserver;
       
    38 class CAknInputBlock;
    38 
    39 
    39 // CLASS DECLARATION
    40 // CLASS DECLARATION
    40 
    41 
    41 /**
    42 /**
    42  * Phonebook 2 fetch results.
    43  * Phonebook 2 fetch results.
    86          *
    87          *
    87          * @param aLink     The link to append.
    88          * @param aLink     The link to append.
    88          */
    89          */
    89         void AppendDelayedL(
    90         void AppendDelayedL(
    90                 const MVPbkContactLink& aLink );
    91                 const MVPbkContactLink& aLink );
    91         
    92 
       
    93         /**
       
    94          * Deny to Append a delayed contact link to selection.
       
    95          *
       
    96          * @param aLink     The link to deny append.
       
    97          */
       
    98         void DenyAppendDelayedL(
       
    99                 const MVPbkContactLink& aLink );
       
   100 
    92         /**
   101         /**
    93          * Appends a contact link to fetch results.
   102          * Appends a contact link to fetch results.
    94          *
   103          *
    95          * @param aLink     The link to append.
   104          * @param aLink     The link to append.
    96          */
   105          */
   108         /**
   117         /**
   109          * Resets the array and destroys the links.
   118          * Resets the array and destroys the links.
   110          */
   119          */
   111         void ResetAndDestroy();
   120         void ResetAndDestroy();
   112 
   121 
       
   122         /**
       
   123          * Wait operations to complete
       
   124          */
       
   125         void WaitOperationsCompleteL();
   113     public: // From MVPbkContactLinkArray
   126     public: // From MVPbkContactLinkArray
   114         TInt Count() const;
   127         TInt Count() const;
   115         const MVPbkContactLink& At(
   128         const MVPbkContactLink& At(
   116                 TInt aIndex ) const;
   129                 TInt aIndex ) const;
   117         TInt Find(
   130         TInt Find(
   231         MPbk2FetchResultsObserver& iResultsObserver;
   244         MPbk2FetchResultsObserver& iResultsObserver;
   232         /// Own: Contact-Operations queue
   245         /// Own: Contact-Operations queue
   233         CArrayFixFlat<CFRConatactOperation*>* iOperationQueue;
   246         CArrayFixFlat<CFRConatactOperation*>* iOperationQueue;
   234         /// Own: Contact retrieve operation
   247         /// Own: Contact retrieve operation
   235         MVPbkContactOperationBase* iRetrieveOperation;
   248         MVPbkContactOperationBase* iRetrieveOperation;
       
   249         /// Own: Is it waiting the acceptance, initialized to EFalse
       
   250         TBool iWaitingForDelayedAppend;
       
   251         /// Own: Wait until finish contact store operation
       
   252         CActiveSchedulerWait* iWaitForAllOperationComplete;
       
   253         /// Own: User input blocker
       
   254         CAknInputBlock* iInputBlock;
   236     };
   255     };
   237 
   256 
   238 #endif // CPBK2FETCHRESULTS_H
   257 #endif // CPBK2FETCHRESULTS_H
   239 
   258 
   240 // End of File
   259 // End of File