upnpframework/upnpcommand/src/upnprunsetupcommand.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
   100     {
   100     {
   101     // create a temporary plugin instance
   101     // create a temporary plugin instance
   102     // then query command availability.
   102     // then query command availability.
   103     TBool available = EFalse;
   103     TBool available = EFalse;
   104     TRAP_IGNORE(
   104     TRAP_IGNORE(
   105         CUpnpCommand* temp = UpnpCommandMain::LoadL( UpnpCommand::ECommandSetup );
   105         CUpnpCommand* temp = UpnpCommandMain::LoadL( 
       
   106                                         UpnpCommand::ECommandSetup );
   106         CleanupStack::PushL( temp );
   107         CleanupStack::PushL( temp );
   107         available = temp->IsAvailableL();
   108         available = temp->IsAvailableL();
   108         CleanupStack::PopAndDestroy( temp );
   109         CleanupStack::PopAndDestroy( temp );
   109         );
   110         );
   110     return available;
   111     return available;