javaextensions/pim/common/inc.s60/mpimadapteraccess.h
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 25 9ac0a0a7da70
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
    29 class MPIMEventAdapterManager;
    29 class MPIMEventAdapterManager;
    30 class MPIMEventListAdapter;
    30 class MPIMEventListAdapter;
    31 class MPIMToDoAdapterManager;
    31 class MPIMToDoAdapterManager;
    32 class MPIMToDoListAdapter;
    32 class MPIMToDoListAdapter;
    33 class MPIMLocalizationData;
    33 class MPIMLocalizationData;
       
    34 class CCalSession;
    34 
    35 
    35 // CLASS DECLARATION
    36 // CLASS DECLARATION
    36 
    37 
    37 /**
    38 /**
    38  *  Provides the elementary access the PIM lists provided by a single adapter
    39  *  Provides the elementary access the PIM lists provided by a single adapter
   127      *        been opened and multiple simultaneous instances are not
   128      *        been opened and multiple simultaneous instances are not
   128      *        supported.
   129      *        supported.
   129      * @li \c KErrNotFound - The native database does not exist any more.
   130      * @li \c KErrNotFound - The native database does not exist any more.
   130      * @li Other - The system is non-functional.
   131      * @li Other - The system is non-functional.
   131      */
   132      */
   132     virtual TBool OpenEventListL(const TDesC* aListName,
   133      virtual TBool OpenEventListL(CCalSession* aCalSession, 
       
   134                                  const TDesC* aListName,
   133                                  MPIMEventAdapterManager** aRetAdapterManager,
   135                                  MPIMEventAdapterManager** aRetAdapterManager,
   134                                  MPIMEventListAdapter** aRetListAdapter,
   136                                  MPIMEventListAdapter** aRetListAdapter,
   135                                  MPIMLocalizationData** aRetLocalizationData) = 0;
   137                                  MPIMLocalizationData** aRetLocalizationData) = 0;
   136 
   138 
   137     /**
   139     /**
   161      *        been opened and multiple simultaneous instances are not
   163      *        been opened and multiple simultaneous instances are not
   162      *        supported.
   164      *        supported.
   163      * @li \c KErrNotFound - The native database does not exist any more.
   165      * @li \c KErrNotFound - The native database does not exist any more.
   164      * @li Other - The system is non-functional.
   166      * @li Other - The system is non-functional.
   165      */
   167      */
   166     virtual TBool OpenToDoListL(const TDesC* aListName,
   168      virtual TBool OpenToDoListL(CCalSession* aCalSession,
       
   169                                 const TDesC* aListName,
   167                                 MPIMToDoAdapterManager** aRetAdapterManager,
   170                                 MPIMToDoAdapterManager** aRetAdapterManager,
   168                                 MPIMToDoListAdapter** aRetListAdapter,
   171                                 MPIMToDoListAdapter** aRetListAdapter,
   169                                 MPIMLocalizationData** aRetLocalizationData) = 0;
   172                                 MPIMLocalizationData** aRetLocalizationData) = 0;
   170 
   173 
   171 protected:
   174 protected: