wmdrm/wmdrmengine/wmdrmserver/server/src/wmdrmsession.cpp
changeset 56 88330f36f634
parent 0 95b198f216e5
child 87 c938d010410d
equal deleted inserted replaced
42:a7bc3704293e 56:88330f36f634
   684     
   684     
   685     aMessage.WriteL(0, timePckg);
   685     aMessage.WriteL(0, timePckg);
   686     aMessage.WriteL(1, validityPckg);
   686     aMessage.WriteL(1, validityPckg);
   687     }
   687     }
   688 
   688 
       
   689 
       
   690 //---------------------------------------------------------------------------
       
   691 // CWmDrmSession::CommitDataL
       
   692 //---------------------------------------------------------------------------
       
   693 //
       
   694 void CWmDrmSession::CommitDataL( const RMessage2& aMessage )
       
   695     {
       
   696     
       
   697     LOGFN( "CWmDrmSession::CommitDataL" );
       
   698     
       
   699     // Force a commit on the database
       
   700     Server().Db()->CheckDatabaseCommitL( ETrue );
       
   701     }
       
   702 
       
   703 
   689  
   704  
   690 //---------------------------------------------------------------------------
   705 //---------------------------------------------------------------------------
   691 // CWmDrmSession::ServiceL
   706 // CWmDrmSession::ServiceL
   692 //---------------------------------------------------------------------------
   707 //---------------------------------------------------------------------------
   693 //    
   708 //    
   785             case EStoreState:
   800             case EStoreState:
   786                 TRAP( trap, StoreStateL( aMessage ) );
   801                 TRAP( trap, StoreStateL( aMessage ) );
   787                 break;
   802                 break;
   788             case EGetTime:
   803             case EGetTime:
   789                 TRAP( trap, GetTimeL( aMessage ) );
   804                 TRAP( trap, GetTimeL( aMessage ) );
   790                 break;              
   805                 break;      
       
   806             case ECommitData:
       
   807                 TRAP( trap, CommitDataL( aMessage ) );
       
   808                 break;            
   791             default:
   809             default:
   792                 r = KErrArgument;
   810                 r = KErrArgument;
   793                 break;
   811                 break;
   794                 }
   812                 }
   795         if ( trap != KErrNone )
   813         if ( trap != KErrNone )