breakdeps/DRMEngine/DRMRightsServer.cpp
changeset 90 62156f66dbad
parent 88 ca165d35976d
equal deleted inserted replaced
89:1650c5a7be8c 90:62156f66dbad
   134 
   134 
   135 LOCAL_C TInt Startup( void );
   135 LOCAL_C TInt Startup( void );
   136 LOCAL_C void SignalClient();
   136 LOCAL_C void SignalClient();
   137 LOCAL_C TInt StartDBServer( void );
   137 LOCAL_C TInt StartDBServer( void );
   138 
   138 
   139 #if defined( __WINS__ )
   139 #if 1 //defined( __WINS__ )
   140 #else
   140 #else
   141 #define DRM_USE_SERIALNUMBER_URI
   141 #define DRM_USE_SERIALNUMBER_URI
   142 #include <mmtsy_names.h>
   142 #include <mmtsy_names.h>
   143 #endif
   143 #endif
   144 
   144 
   816 
   816 
   817     DRMLOG( _L( "CDRMRightsServer::GetDbKey" ) );
   817     DRMLOG( _L( "CDRMRightsServer::GetDbKey" ) );
   818     MDrmKeyStorage* storage = DrmKeyStorageNewL();
   818     MDrmKeyStorage* storage = DrmKeyStorageNewL();
   819     TRAP( r, storage->GetDeviceSpecificKeyL( aKey ) );
   819     TRAP( r, storage->GetDeviceSpecificKeyL( aKey ) );
   820     delete storage;
   820     delete storage;
       
   821     DRMLOG2( _L( "CDRMRightsServer::GetDbKey err=%d" ),r );
   821     User::LeaveIfError( r );
   822     User::LeaveIfError( r );
   822     }
   823     }
   823 
   824 
   824 // -----------------------------------------------------------------------------
   825 // -----------------------------------------------------------------------------
   825 // CDRMRightsServer::GenerateKeyL
   826 // CDRMRightsServer::GenerateKeyL
   970     if ( !iGetImsi )
   971     if ( !iGetImsi )
   971         {
   972         {
   972         return *iIMSI;
   973         return *iIMSI;
   973         }
   974         }
   974 
   975 
   975 #ifndef __WINS__
   976 #if 0 // defined(__WINS__)
   976     TInt error( KErrNone );
   977     TInt error( KErrNone );
   977     TInt count( 0 );
   978     TInt count( 0 );
   978     TInt count2( 0 );
   979     TInt count2( 0 );
   979     TUint32 caps( 0 );
   980     TUint32 caps( 0 );
   980     TBool found (EFalse);
   981     TBool found (EFalse);