javaextensions/pim/common/inc.s60/mpimadapteraccess.h
branchRCL_3
changeset 77 7cee158cb8cd
parent 25 9ac0a0a7da70
child 83 26b2b12093af
equal deleted inserted replaced
71:d5e927d5853b 77:7cee158cb8cd
    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,
       
   135                                  //const TDesC* aCalNameArg,
   133                                  MPIMEventAdapterManager** aRetAdapterManager,
   136                                  MPIMEventAdapterManager** aRetAdapterManager,
   134                                  MPIMEventListAdapter** aRetListAdapter,
   137                                  MPIMEventListAdapter** aRetListAdapter,
   135                                  MPIMLocalizationData** aRetLocalizationData) = 0;
   138                                  MPIMLocalizationData** aRetLocalizationData) = 0;
   136 
   139 
   137     /**
   140     /**
   161      *        been opened and multiple simultaneous instances are not
   164      *        been opened and multiple simultaneous instances are not
   162      *        supported.
   165      *        supported.
   163      * @li \c KErrNotFound - The native database does not exist any more.
   166      * @li \c KErrNotFound - The native database does not exist any more.
   164      * @li Other - The system is non-functional.
   167      * @li Other - The system is non-functional.
   165      */
   168      */
   166     virtual TBool OpenToDoListL(const TDesC* aListName,
   169     virtual TBool OpenToDoListL(CCalSession* aCalSession,
       
   170                                 const TDesC* aListName,
       
   171                                 //const TDesC* aCalNameArg,
   167                                 MPIMToDoAdapterManager** aRetAdapterManager,
   172                                 MPIMToDoAdapterManager** aRetAdapterManager,
   168                                 MPIMToDoListAdapter** aRetListAdapter,
   173                                 MPIMToDoListAdapter** aRetListAdapter,
   169                                 MPIMLocalizationData** aRetLocalizationData) = 0;
   174                                 MPIMLocalizationData** aRetLocalizationData) = 0;
   170 
   175 
   171 protected:
   176 protected: