mtpfws/mtpfw/src/cmtpobjectmgr.cpp
changeset 47 63cf70d3ecd8
parent 0 d0791faffa3f
equal deleted inserted replaced
44:a5deb6b96675 47:63cf70d3ecd8
    21 #include "cmtpobjectmgr.h"
    21 #include "cmtpobjectmgr.h"
    22 #include "cmtpdpidstore.h"
    22 #include "cmtpdpidstore.h"
    23 #include "cmtpobjectstore.h"
    23 #include "cmtpobjectstore.h"
    24 #include "tmtptypeobjecthandle.h"
    24 #include "tmtptypeobjecthandle.h"
    25 #include "cmtppkgidstore.h"
    25 #include "cmtppkgidstore.h"
       
    26 #include "OstTraceDefinitions.h"
       
    27 #ifdef OST_TRACE_COMPILER_IN_USE
       
    28 #include "cmtpobjectmgrTraces.h"
       
    29 #endif
       
    30 
    26 /**
    31 /**
    27 MTP object manager information record factory method. This method creates an 
    32 MTP object manager information record factory method. This method creates an 
    28 empty object information record.
    33 empty object information record.
    29 @return A pointer to a new CMTPObjectMetaData instance, ownership IS transferred.
    34 @return A pointer to a new CMTPObjectMetaData instance, ownership IS transferred.
    30 @leave One of the system wide error codes, if a processing failure occurs.
    35 @leave One of the system wide error codes, if a processing failure occurs.
   154     }
   159     }
   155     
   160     
   156     
   161     
   157 TMTPTypeUint128 CMTPObjectMgr::PuidL(TInt64 /*aObjectUid*/) const
   162 TMTPTypeUint128 CMTPObjectMgr::PuidL(TInt64 /*aObjectUid*/) const
   158     {
   163     {
       
   164     OstTrace0( TRACE_ERROR, CMTPOBJECTMGR_PUIDL, "PuidL doesn't support TInt64 type parameter" );
   159     User::Leave(KErrNotSupported);
   165     User::Leave(KErrNotSupported);
   160     return TMTPTypeUint128(0);
   166     return TMTPTypeUint128(0);
   161     }
   167     }
   162     
   168     
   163 TMTPTypeUint128 CMTPObjectMgr::PuidL(const TDesC& aSuid) const
   169 TMTPTypeUint128 CMTPObjectMgr::PuidL(const TDesC& aSuid) const