cmmanager/cmmgr/cmmserver/inc/cmmcache.h
changeset 53 4af712113915
parent 46 95d45f234cf3
child 61 8b0c979bbe8c
equal deleted inserted replaced
47:cb7afde124a3 53:4af712113915
   165     void CreateCopyOfConnMethodL(
   165     void CreateCopyOfConnMethodL(
   166             CCmmConnMethodInstance& aNewConnMethodInstance,
   166             CCmmConnMethodInstance& aNewConnMethodInstance,
   167             CCmmConnMethodInstance& aConnMethodInstance );
   167             CCmmConnMethodInstance& aConnMethodInstance );
   168 
   168 
   169     /**
   169     /**
   170      * Re-loads a destination record if needed and copies the latest version to
   170      * Reloads a destination record if needed and copies the latest version to
   171      * the session instance given as parameter.
   171      * the session instance given as parameter.
   172      */
   172      */
   173     void LoadDestinationRecordL(
   173     void LoadDestinationRecordL(
   174             CCmmDestinationInstance& aDestinationInstance,
   174             CCmmDestinationInstance& aDestinationInstance,
   175             TCmmDbRecords aDestRecordType );
   175             TCmmDbRecords aDestRecordType );
   235             const TUint32 aValue );
   235             const TUint32 aValue );
   236     TBool DestinationExistsWithMetadataPurposeL(
   236     TBool DestinationExistsWithMetadataPurposeL(
   237             CCmmDestinationInstance& aDestinationInstance,
   237             CCmmDestinationInstance& aDestinationInstance,
   238             const TUint32 aValue );
   238             const TUint32 aValue );
   239 
   239 
   240     void DbChangeDetected( const TUint32 aTableId );
   240     void DbChangeDetectedL( const TUint32 aTableId );
   241     void DbChangeError( const TUint32 aTableId );
   241     void DbChangeError( const TUint32 aTableId );
   242 
   242 
   243     void CloseDestination( CCmmDestinationInstance& aDestinationInstance );
   243     void CloseDestination( CCmmDestinationInstance& aDestinationInstance );
   244     void CloseConnMethod( CCmmConnMethodInstance& aConnMethodInstance );
   244     void CloseConnMethod( CCmmConnMethodInstance& aConnMethodInstance );
   245 
   245 
   580      * Initiate the deletion of given destination if none of the connection
   580      * Initiate the deletion of given destination if none of the connection
   581      * methods inside it are connected.
   581      * methods inside it are connected.
   582      */
   582      */
   583     void DeleteDestinationForcedL( CCmmDestinationInstance& aDestinationInstance );
   583     void DeleteDestinationForcedL( CCmmDestinationInstance& aDestinationInstance );
   584 
   584 
       
   585     /**
       
   586      * Informs all the loaded iaps if something related to their tables
       
   587      * changed in commsdat.
       
   588      */
       
   589     void NotifyPluginsForTableChangesL( const TUint32 aTableId );
       
   590 
   585 private:
   591 private:
   586     // Monitors changes in the database.
   592     // Monitors changes in the database.
   587     CCmmListenerManager* iListenerManager; // Owned.
   593     CCmmListenerManager* iListenerManager; // Owned.
   588 
   594 
   589     // Contains the current destination/connection method structure.
   595     // Contains the current destination/connection method structure.
   625     CCmManagerImpl* iCmManagerImpl; // Not owned.
   631     CCmManagerImpl* iCmManagerImpl; // Not owned.
   626 
   632 
   627     // Counter to generate new unique IDs. These are used to link new objects
   633     // Counter to generate new unique IDs. These are used to link new objects
   628     // without valid IDs between session side and cache.
   634     // without valid IDs between session side and cache.
   629     TUint32 iCurrentTemporaryId;
   635     TUint32 iCurrentTemporaryId;
       
   636 
       
   637     // Destination network table ID.
       
   638     CommsDat::TMDBElementId iSnapTableId;
       
   639     // Destination metadata table ID.
       
   640     CommsDat::TMDBElementId iSnapMetadataTableId;
   630     };
   641     };
   631 
   642 
   632 #endif // CMMCACHE_H_
   643 #endif // CMMCACHE_H_
   633 
   644 
   634 // End of file
   645 // End of file