void CpProxyAvOpenhomeOrgInfo1C::PropertyLossless(TBool& aLossless) const { PropertyReadLock(); ASSERT(IsSubscribed()); aLossless = iLossless->Value(); PropertyReadUnlock(); }
void CpProxyAvOpenhomeOrgSender1C::PropertyAudio(TBool& aAudio) const { PropertyReadLock(); ASSERT(IsSubscribed()); aAudio = iAudio->Value(); PropertyReadUnlock(); }
void CpProxyUpnpOrgSwitchPower1C::PropertyStatus(TBool& aStatus) const { PropertyReadLock(); ASSERT(IsSubscribed()); aStatus = iStatus->Value(); PropertyReadUnlock(); }
int32_t STDCALL ServicePropertyValueBool(ServiceProperty aProperty, uint32_t* aValue) { PropertyBool* prop = reinterpret_cast<PropertyBool*>(aProperty); ASSERT(prop != NULL); int32_t err = 0; TBool val; try { val = prop->Value(); *aValue = (val? 1 : 0); } catch (PropertyError&) { err = -1; } return err; }
void DvProviderLinnCoUkCloud1C::GetPropertyConnected(TBool& aValue) { ASSERT(iPropertyConnected != NULL); aValue = iPropertyConnected->Value(); }
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyLossless(TBool& aValue) { aValue = iPropertyLossless->Value(); }
void CpProxyAvOpenhomeOrgSender1C::PropertyAudio(TBool& aAudio) const { AutoMutex a(GetPropertyReadLock()); CheckSubscribed(); aAudio = iAudio->Value(); }