upnpframework/upnpcommand/src/upnpcopycommand.cpp
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 0 7f85d04be362
equal deleted inserted replaced
32:3785f754ee62 38:5360b7ddc251
   160     {
   160     {
   161     // create a temporary plugin instance
   161     // create a temporary plugin instance
   162     // then query command availability.
   162     // then query command availability.
   163     TBool available = EFalse;
   163     TBool available = EFalse;
   164     TRAP_IGNORE(
   164     TRAP_IGNORE(
   165         CUpnpCommand* temp = UpnpCommandMain::LoadL( UpnpCommand::ECommandCopy );
   165         CUpnpCommand* temp = UpnpCommandMain::LoadL( 
       
   166                                         UpnpCommand::ECommandCopy );
   166         CleanupStack::PushL( temp );
   167         CleanupStack::PushL( temp );
   167         available = temp->IsAvailableL();
   168         available = temp->IsAvailableL();
   168         CleanupStack::PopAndDestroy( temp );
   169         CleanupStack::PopAndDestroy( temp );
   169         );
   170         );
   170     return available;
   171     return available;