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