calendarui/organizerplugin/aiagendapluginengine/inc/AIAgendaPluginEngineImpl.h
branchRCL_3
changeset 13 1984aceb8774
parent 0 f979ecb2b13e
equal deleted inserted replaced
11:0f07cd1b5772 13:1984aceb8774
    20 #define CAIAGENDAPLUGINENGINEIMPL_H
    20 #define CAIAGENDAPLUGINENGINEIMPL_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include "CalEngineCallback.h"
    23 #include "CalEngineCallback.h"
    24 #include "CalenEngine.h"
    24 #include "CalenEngine.h"
    25 #include "CalSvrClient.h"
       
    26 #include "PropertyObserver.h"
    25 #include "PropertyObserver.h"
    27 
    26 
    28 #include <calfilechangenotification.h>
    27 #include <calfilechangenotification.h>
    29 
    28 
    30 // FORWARD DECLARATIONS
    29 // FORWARD DECLARATIONS
    35 class CCalSession;
    34 class CCalSession;
    36 
    35 
    37 // CLASS DECLARATION
    36 // CLASS DECLARATION
    38 NONSHARABLE_CLASS( CAIAgendaPluginEngineImpl ) : public CBase,
    37 NONSHARABLE_CLASS( CAIAgendaPluginEngineImpl ) : public CBase,
    39                                                  public MCalenEngineListener,
    38                                                  public MCalenEngineListener,
    40                                                  public MCalSvrAgendaUpdateListener,
       
    41                                                  public MPropertyChangeHandler,
    39                                                  public MPropertyChangeHandler,
    42                                                  public MCalFileChangeObserver
    40                                                  public MCalFileChangeObserver
    43                                                  
    41                                                  
    44 {
    42 {
    45     // Allow CAIAgendaPluginEngine to access the SafeRefresh()
    43     // Allow CAIAgendaPluginEngine to access the SafeRefresh()
   112     /**
   110     /**
   113      * ?member_description.
   111      * ?member_description.
   114      * @since S60 3.0
   112      * @since S60 3.0
   115      **/
   113      **/
   116     void HandleError(TInt aError);
   114     void HandleError(TInt aError);
   117 
       
   118  public:  // From MCalSvrAgendaUpdateListener
       
   119     /**
       
   120      * ?member_description.
       
   121      * @since Series 60 2.6
       
   122      **/
       
   123     void CalendarServerInitialized(void);
       
   124 
   115 
   125 public:  // From MPropertyChangeHandler
   116 public:  // From MPropertyChangeHandler
   126     /**
   117     /**
   127      * ?member_description.
   118      * ?member_description.
   128      * @since Series 60 3.0
   119      * @since Series 60 3.0
   264     // Calendar agenda engine
   255     // Calendar agenda engine
   265     CCalenEngine* iCalendarEngine;
   256     CCalenEngine* iCalendarEngine;
   266 
   257 
   267     // ?one_line_short_description_of_data
   258     // ?one_line_short_description_of_data
   268     RPointerArray<CCalInstance> iInstanceArray;
   259     RPointerArray<CCalInstance> iInstanceArray;
   269 
       
   270     // Calendar server session
       
   271     RCalSvrSession iSession;
       
   272 
   260 
   273     // ?one_line_short_description_of_data
   261     // ?one_line_short_description_of_data
   274     MPluginDataChangeObserver& iDataChangeObserver;
   262     MPluginDataChangeObserver& iDataChangeObserver;
   275 
   263 
   276     // ?one_line_short_description_of_data
   264     // ?one_line_short_description_of_data