void ProviderTestBasic::GetBool(IDvInvocation& aInvocation, IDvInvocationResponseBool& aValueBool) { aInvocation.StartResponse(); TBool val; GetPropertyVarBool(val); aValueBool.Write(val); aInvocation.EndResponse(); }
void ProviderTestBasic::Toggle(IDvInvocation& aInvocation, TBool aValue, IDvInvocationResponseBool& aResult) { aInvocation.StartResponse(); aResult.Write(!aValue); aInvocation.EndResponse(); }