mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/src/cabstractmediamtpdataprovidersetobjectpropvalue.cpp
branchRCL_3
changeset 9 bee149131e4b
parent 0 a2952bb97e68
child 17 780c925249c1
equal deleted inserted replaced
4:d45095c2f4f3 9:bee149131e4b
    47 // Two-phase construction method
    47 // Two-phase construction method
    48 // -----------------------------------------------------------------------------
    48 // -----------------------------------------------------------------------------
    49 //
    49 //
    50 void CAbstractMediaMtpDataProviderSetObjectPropValue::ConstructL()
    50 void CAbstractMediaMtpDataProviderSetObjectPropValue::ConstructL()
    51     {
    51     {
    52 
    52     // Do nothing
    53     }
    53     }
    54 
    54 
    55 // -----------------------------------------------------------------------------
    55 // -----------------------------------------------------------------------------
    56 // CAbstractMediaMtpDataProviderSetObjectPropValue::CAbstractMediaMtpDataProviderSetObjectPropValue
    56 // CAbstractMediaMtpDataProviderSetObjectPropValue::CAbstractMediaMtpDataProviderSetObjectPropValue
    57 // Standard c++ constructor
    57 // Standard c++ constructor
    58 // -----------------------------------------------------------------------------
    58 // -----------------------------------------------------------------------------
    59 //
    59 //
    60 CAbstractMediaMtpDataProviderSetObjectPropValue::CAbstractMediaMtpDataProviderSetObjectPropValue( MMTPDataProviderFramework& aFramework,
    60 CAbstractMediaMtpDataProviderSetObjectPropValue::CAbstractMediaMtpDataProviderSetObjectPropValue( MMTPDataProviderFramework& aFramework,
    61     MMTPConnection& aConnection,
    61     MMTPConnection& aConnection,
    62     MMmMtpDpConfig& aDpConfig ) :
    62     MMmMtpDpConfig& aDpConfig ) :
    63     CSetObjectPropValue( aFramework, aConnection, aDpConfig )
    63         CSetObjectPropValue( aFramework, aConnection, aDpConfig )
    64     {
    64     {
    65 
    65     // Do nothing
    66     }
    66     }
    67 
    67 
    68 // -----------------------------------------------------------------------------
    68 // -----------------------------------------------------------------------------
    69 // CAbstractMediaMtpDataProviderSetObjectPropValue::~CAbstractMediaMtpDataProviderSetObjectPropValue
    69 // CAbstractMediaMtpDataProviderSetObjectPropValue::~CAbstractMediaMtpDataProviderSetObjectPropValue
    70 // Destructor
    70 // Destructor
    71 // -----------------------------------------------------------------------------
    71 // -----------------------------------------------------------------------------
    72 //
    72 //
    73 CAbstractMediaMtpDataProviderSetObjectPropValue::~CAbstractMediaMtpDataProviderSetObjectPropValue()
    73 CAbstractMediaMtpDataProviderSetObjectPropValue::~CAbstractMediaMtpDataProviderSetObjectPropValue()
    74     {
    74     {
    75 
    75     // Do nothing
    76     }
    76     }
    77 
    77 
    78 // -----------------------------------------------------------------------------
    78 // -----------------------------------------------------------------------------
    79 // CAbstractMediaMtpDataProviderSetObjectPropValue::IsSpecificPropCodeReadOnly
    79 // CAbstractMediaMtpDataProviderSetObjectPropValue::IsSpecificPropCodeReadOnly
    80 // no need to do anything here, just leave, as this should never be invoked or
    80 // no need to do anything here, just leave, as this should never be invoked or
    93 // -----------------------------------------------------------------------------
    93 // -----------------------------------------------------------------------------
    94 //
    94 //
    95 void CAbstractMediaMtpDataProviderSetObjectPropValue::ReceiveDataSpecificObjectPropertyL( TUint16 /*aPropCode*/ )
    95 void CAbstractMediaMtpDataProviderSetObjectPropValue::ReceiveDataSpecificObjectPropertyL( TUint16 /*aPropCode*/ )
    96     {
    96     {
    97     PRINT( _L( "MM MTP => CAbstractMediaMtpDataProviderSetObjectPropValue::ReceiveDataSpecificObjectPropertyL leave with KErrNotSupported" ) );
    97     PRINT( _L( "MM MTP => CAbstractMediaMtpDataProviderSetObjectPropValue::ReceiveDataSpecificObjectPropertyL leave with KErrNotSupported" ) );
       
    98 
       
    99     // Do nothing now.
       
   100     // May need add implementation here for further extension.
       
   101 
    98     User::Leave( KErrNotSupported );
   102     User::Leave( KErrNotSupported );
    99     }
   103     }
   100 
   104 
   101 // -----------------------------------------------------------------------------
   105 // -----------------------------------------------------------------------------
   102 // CAbstractMediaMtpDataProviderSetObjectPropValue::ServiceSpecificObjectPropertyL
   106 // CAbstractMediaMtpDataProviderSetObjectPropValue::ServiceSpecificObjectPropertyL
   105 // -----------------------------------------------------------------------------
   109 // -----------------------------------------------------------------------------
   106 //
   110 //
   107 TMTPResponseCode CAbstractMediaMtpDataProviderSetObjectPropValue::ServiceSpecificObjectPropertyL( TUint16 /*aPropCode*/ )
   111 TMTPResponseCode CAbstractMediaMtpDataProviderSetObjectPropValue::ServiceSpecificObjectPropertyL( TUint16 /*aPropCode*/ )
   108     {
   112     {
   109     PRINT( _L( "MM MTP => CAbstractMediaMtpDataProviderSetObjectPropValue::ServiceSpecificObjectPropertyL leave with KErrNotSupported" ) );
   113     PRINT( _L( "MM MTP => CAbstractMediaMtpDataProviderSetObjectPropValue::ServiceSpecificObjectPropertyL leave with KErrNotSupported" ) );
       
   114 
       
   115     // Do nothing now.
       
   116     // May need add implementation here for further extension.
   110     User::Leave( KErrNotSupported );
   117     User::Leave( KErrNotSupported );
   111 
   118 
   112     return EMTPRespCodeOK;
   119     return EMTPRespCodeOK;
   113     }
   120     }
   114 
   121