void CProduct::Product(IInvocationResponse& aResponse, TUint aVersion, IInvocationResponseString& aRoom, IInvocationResponseString& aName, IInvocationResponseString& aInfo, IInvocationResponseString& aUrl, IInvocationResponseString& aImageUri) { Brhz room; Brhz name; Brhz info; Brhz url; Brhz image; GetPropertyProductRoom(room); GetPropertyProductName(name); GetPropertyProductInfo(info); GetPropertyProductUrl(url); GetPropertyProductImageUri(image); aResponse.Start(); aRoom.Write(room); aRoom.WriteFlush(); aName.Write(name); aName.WriteFlush(); aInfo.Write(info); aInfo.WriteFlush(); aUrl.Write(url); aUrl.WriteFlush(); aImageUri.Write(image); aImageUri.WriteFlush(); aResponse.End(); }
void CProduct::Source(IInvocationResponse& aResponse, TUint aVersion, TUint aIndex, IInvocationResponseString& aSystemName, IInvocationResponseString& aType, IInvocationResponseString& aName, IInvocationResponseBool& aVisible) { TUint count; GetPropertySourceCount(count); if (aValue < count) { CSource* source = iSourceList[aValue); aResponse.Start(); aSystemName.Write(source->SystemName()); aSystemName.WriteFlush(); aType.Write(source->Type()); aType.WriteFlush(); aName.Write(source->Name()); aName.WriteFlush(); aVisible.Write(source->Visible()); aResponse.End(); }
void ProviderTestBasic::EchoString(IInvocationResponse& aResponse, TUint /*aVersion*/, const Brx& aValue, IInvocationResponseString& aResult) { aResponse.Start(); aResult.Write(aValue); aResult.WriteFlush(); aResponse.End(); }
void CProduct::SourceXml(IInvocationResponse& aResponse, TUint aVersion, IInvocationResponseString& aValue) { Brhz value; GetPropertySourceXml(value); aResponse.Start(); aValue.Write(value); aValue.WriteFlush(); aResponse.End(); }
void ProviderTestBasic::GetString(IInvocationResponse& aResponse, TUint /*aVersion*/, IInvocationResponseString& aValueStr) { aResponse.Start(); Brhz val; GetPropertyVarStr(val); aValueStr.Write(val); aValueStr.WriteFlush(); aResponse.End(); }
void CProduct::Model(IInvocationResponse& aResponse, TUint aVersion, IInvocationResponseString& aName, IInvocationResponseString& aInfo, IInvocationResponseString& aUrl, IInvocationResponseString& aImageUri) { Brhz name; Brhz info; Brhz url; Brhz image; GetPropertyModelName(name); GetPropertyModelInfo(info); GetPropertyModelUrl(url); GetPropertyModelImageUri(image); aResponse.Start(); aName.Write(name); aName.WriteFlush(); aInfo.Write(info); aInfo.WriteFlush(); aUrl.Write(url); aUrl.WriteFlush(); aImageUri.Write(image); aImageUri.WriteFlush(); aResponse.End(); }