serviceproviders/sapi_contacts_vpbk/contactservice/inc/contactsynccallback.h
changeset 22 fc9cf246af83
parent 19 989d2f495d90
equal deleted inserted replaced
19:989d2f495d90 22:fc9cf246af83
    45          /**
    45          /**
    46           *Getter method to get error code.
    46           *Getter method to get error code.
    47           *@return value TInt, integer error code KErrNone if no error
    47           *@return value TInt, integer error code KErrNone if no error
    48           *occured else can be any system wide error code.
    48           *occured else can be any system wide error code.
    49           */
    49           */
       
    50          void  GetArray(RPointerArray<HBufC8>*);
    50          TInt GetErrorCode();
    51          TInt GetErrorCode();
       
    52          
       
    53          HBufC8* GetId();
       
    54          
       
    55          
    51          /**
    56          /**
    52           *setter method for the wait shceduler shallow copy owned by core class.
    57           *setter method for the wait shceduler shallow copy owned by core class.
    53           *@return void.
    58           *@return void.
    54           */
    59           */
    55          void SetWaitScheduler(CActiveSchedulerWait *aWaitScheduler);         
    60          void SetWaitScheduler(CActiveSchedulerWait *aWaitScheduler);         
    69           *@param aIter pointer to the CContactIter class.
    74           *@param aIter pointer to the CContactIter class.
    70           *@param aTransId trasaction Id of the asychronous call.
    75           *@param aTransId trasaction Id of the asychronous call.
    71           *@return void.
    76           *@return void.
    72           */
    77           */
    73          virtual void HandleReturnIter( const TInt& aError, CContactIter* aIter, TInt aTransId );
    78          virtual void HandleReturnIter( const TInt& aError, CContactIter* aIter, TInt aTransId );
       
    79          virtual void HandleReturnArray( const TInt& aError, RPointerArray<HBufC8>& idArray, TInt aTransId );
       
    80          
       
    81          virtual void HandleReturnId(const TInt& aError, HBufC8* acntId, TInt aTransId );
    74      private:
    82      private:
    75         //Pointer to the CContactIter class.
    83         //Pointer to the CContactIter class.
    76         CContactIter* iIter;
    84         CContactIter* iIter;
       
    85         RPointerArray<HBufC8> iIDArray;
    77         //Integer error code.
    86         //Integer error code.
    78         TInt iError;
    87         TInt iError;
    79         //Scheduler pointer owned by core class used by this class
    88         //Scheduler pointer owned by core class used by this class
    80         CActiveSchedulerWait *iWaitScheduler;
    89         CActiveSchedulerWait *iWaitScheduler;
       
    90         HBufC8* icntId;
       
    91         
    81     public:
    92     public:
    82         TInt iErrKey;    
    93         TInt iErrKey;    
    83     };
    94     };
    84 
    95 
    85 #endif    //C_CONTACTSYNCCALLBACK_H
    96 #endif    //C_CONTACTSYNCCALLBACK_H