cmmanager/cmmgr/cmmserver/inc/cmmcache.h
changeset 23 7ec726f93df1
parent 20 9c97ad6591ae
child 27 489cf6208544
equal deleted inserted replaced
20:9c97ad6591ae 23:7ec726f93df1
   454     TBool CheckIfCmConnected( const TUint32& aCmId ) const;
   454     TBool CheckIfCmConnected( const TUint32& aCmId ) const;
   455 
   455 
   456     /**
   456     /**
   457      * Enumerates connections and checks if any of the connection methods in
   457      * Enumerates connections and checks if any of the connection methods in
   458      * the given destination is connected.
   458      * the given destination is connected.
   459      * //TODO, update comments with second parameter.
   459      * If pointer to destination instance is given, then information about
       
   460      * relevant connection methods is retrieved from that. Otherwise the
       
   461      * information is retrieved from instance mapping using the given ID.
   460      */
   462      */
   461     TBool DestinationConnectedL(
   463     TBool DestinationConnectedL(
   462             const TUint32 aDestinationId,
   464             const TUint32 aDestinationId,
   463             CCmmDestinationInstance* aDestinationInstance = NULL ) const;
   465             CCmmDestinationInstance* aDestinationInstance = NULL ) const;
   464 
   466 
   557      * Opens a transaction and deletes the given connection method.
   559      * Opens a transaction and deletes the given connection method.
   558      */
   560      */
   559     void DeletePluginL( CCmmConnMethodStruct& aConnMethodStruct );
   561     void DeletePluginL( CCmmConnMethodStruct& aConnMethodStruct );
   560 
   562 
   561     /**
   563     /**
   562      * TODO
   564      * Initiate the deletion of given destination if none of the connection
       
   565      * methods inside it are connected.
   563      */
   566      */
   564     void DeleteDestinationForcedL( CCmmDestinationInstance& aDestinationInstance );
   567     void DeleteDestinationForcedL( CCmmDestinationInstance& aDestinationInstance );
   565 
   568 
   566 private:
   569 private:
   567     // Monitors changes in the database.
   570     // Monitors changes in the database.