Example #1
0
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();
}
Example #3
0
void CpProxyUpnpOrgSwitchPower1C::PropertyStatus(TBool& aStatus) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aStatus = iStatus->Value();
    PropertyReadUnlock();
}
Example #4
0
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();
}
Example #6
0
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyLossless(TBool& aValue)
{
    aValue = iPropertyLossless->Value();
}
void CpProxyAvOpenhomeOrgSender1C::PropertyAudio(TBool& aAudio) const
{
    AutoMutex a(GetPropertyReadLock());
    CheckSubscribed();
    aAudio = iAudio->Value();
}