serviceproviders/sapi_calendar/inc/calendarcallback.h
changeset 22 fc9cf246af83
parent 19 989d2f495d90
child 33 50974a8b132e
equal deleted inserted replaced
19:989d2f495d90 22:fc9cf246af83
    24 #include <LiwBufferExtension.h>
    24 #include <LiwBufferExtension.h>
    25 
    25 
    26 #include <calchangecallback.h>
    26 #include <calchangecallback.h>
    27 
    27 
    28 #include "calendarheader.h"
    28 #include "calendarheader.h"
       
    29 class CCalendarInterface;
       
    30 
    29 /**
    31 /**
    30 * Implemenation of abstract MCalCallbackBase interface for Buffer output
    32 * Implemenation of abstract MCalCallbackBase interface for Buffer output
    31 * Used in Async Export operation
    33 * Used in Async Export operation
    32 *
    34 *
    33 * @see MCalCallbackBase
    35 * @see MCalCallbackBase
    34 *
    36 *
    35 */
    37 */
       
    38 
       
    39 class CCalCallbackCalEntryList: public CBase, public MCalCallbackBase 
       
    40     {
       
    41     public:
       
    42 
       
    43         /**
       
    44          * Two-phase Constructor
       
    45          * @return   CMsgCallbackBase* 
       
    46         */      
       
    47         static CCalCallbackCalEntryList* NewL( CCalendarInterface& aCalendarInterface, MLiwNotifyCallback *aPtrNotifyCallback, const TDesC& aCalendarName, TInt32 aTransactionId, TBool aIsEntryArray );
       
    48 
       
    49         /**
       
    50          * Gives the result of asynchronous SAPI
       
    51          * @param aErrCode errcode
       
    52          * @param aResult Result
       
    53          * @return   void
       
    54         */      
       
    55         void NotifyResultL(TInt aErrCode, TAny* aResult);
       
    56         
       
    57     //    TInt32 GetTransactionID();
       
    58         ~CCalCallbackCalEntryList();
       
    59     private:
       
    60 
       
    61         /**
       
    62          * Constructor
       
    63         */      
       
    64         CCalCallbackCalEntryList( CCalendarInterface& aCalendarInterface, MLiwNotifyCallback *aPtrNotifyCallback,  TInt32 aTransactionId, TBool aIsEntryArray );
       
    65 		void ConstructL( const TDesC& aCalendarName );
       
    66         
       
    67    private:
       
    68    TBool               iIsEntryArray;
       
    69    CCalendarInterface&     iInterface;
       
    70    /**
       
    71        * Calendar Name
       
    72       */      
       
    73       HBufC*                  iCalendarName;
       
    74 
       
    75   /*      MLiwNotifyCallback* iCallback;
       
    76         TInt32              iTransactionId;
       
    77         
       
    78         */
       
    79 
       
    80     };
       
    81 
    36 class CCalCallbackBaseBuffer: public CBase, public MCalCallbackBase //USED IN CASE OF EXPORT ASYNC
    82 class CCalCallbackBaseBuffer: public CBase, public MCalCallbackBase //USED IN CASE OF EXPORT ASYNC
    37 	{
    83 	{
    38 	public:
    84 	public:
    39 
    85 
    40 	  	/**
    86 	  	/**