equal
deleted
inserted
replaced
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; |