cmmanager/cmmgr/cmmserver/inc/cmminstancemapping.h
changeset 27 489cf6208544
parent 20 9c97ad6591ae
child 40 c5b848e6c7d1
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
    46     // embedded destinations.
    46     // embedded destinations.
    47     RArray<TCmmConnMethodItem> iConnMethodItemArray;
    47     RArray<TCmmConnMethodItem> iConnMethodItemArray;
    48 
    48 
    49     // IDs for unsupported connection methods inside this destination.
    49     // IDs for unsupported connection methods inside this destination.
    50     RArray<TUint32> iUnsupportedConnMethods;
    50     RArray<TUint32> iUnsupportedConnMethods;
       
    51     
       
    52     // The destination metadata.
       
    53     TUint32 iMetadata;
    51     };
    54     };
    52 
    55 
    53 
    56 
    54 NONSHARABLE_CLASS( CCmmInstanceMapping ) : public CBase
    57 NONSHARABLE_CLASS( CCmmInstanceMapping ) : public CBase
    55     {
    58     {
   138     /**
   141     /**
   139      * Returns the number of destinations the provided connection method
   142      * Returns the number of destinations the provided connection method
   140      * belongs to.
   143      * belongs to.
   141      */
   144      */
   142     TInt DestinationsContainingConnMethod( const TUint32& aConnMethodId ) const;
   145     TInt DestinationsContainingConnMethod( const TUint32& aConnMethodId ) const;
       
   146 
       
   147     /**
       
   148      * Returns the destination ids containing the connection method given as
       
   149      * parameter.
       
   150      */
       
   151     void DestinationsContainingConnMethodL(
       
   152             const TUint32 aConnMethodId,
       
   153             RArray<TUint32>& aDestinationIds ) const;
   143 
   154 
   144     /**
   155     /**
   145      * Returns all conenction method IDs. Unsupported connection methods are
   156      * Returns all conenction method IDs. Unsupported connection methods are
   146      * included if aCheckBearerType is set to EFalse.
   157      * included if aCheckBearerType is set to EFalse.
   147      */
   158      */
   239      * aChangedDestinations-array.
   250      * aChangedDestinations-array.
   240      */
   251      */
   241     void RemoveConnMethodFromDestinations(
   252     void RemoveConnMethodFromDestinations(
   242             const TUint32& aConnMethodId,
   253             const TUint32& aConnMethodId,
   243             RArray<TUint32>& aChangedDestinations );
   254             RArray<TUint32>& aChangedDestinations );
       
   255     
       
   256     /**
       
   257      * Get the metadata of the destination identified with given id.
       
   258      */
       
   259     TUint32 DestinationMetadata( const TUint32 aDestinationId ) const;
   244 
   260 
   245 private:
   261 private:
   246     /**
   262     /**
   247      * Reads all connection methods from database.
   263      * Reads all connection methods from database.
   248      */
   264      */