void STDCALL CpProxyAvOpenhomeOrgTime1SetPropertySecondsChanged(THandle aHandle, OhNetCallback aCallback, void* aPtr) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); Functor functor = MakeFunctor(aPtr, aCallback); proxyC->SetPropertySecondsChanged(functor); }
void STDCALL CpProxyAvOpenhomeOrgTime1BeginTime(THandle aHandle, OhNetCallbackAsync aCallback, void* aPtr) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); FunctorAsync functor = MakeFunctorAsync(aPtr, (OhNetFunctorAsync)aCallback); proxyC->BeginTime(functor); }
int32_t STDCALL CpProxyAvOpenhomeOrgTime1PropertySeconds(THandle aHandle, uint32_t* aSeconds) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); try { proxyC->PropertySeconds(*aSeconds); } catch (ProxyNotSubscribed&) { return -1; } return 0; }
int32_t STDCALL CpProxyAvOpenhomeOrgTime1EndTime(THandle aHandle, OhNetHandleAsync aAsync, uint32_t* aTrackCount, uint32_t* aDuration, uint32_t* aSeconds) { int32_t err = 0; CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); IAsync* async = reinterpret_cast<IAsync*>(aAsync); ASSERT(async != NULL); try { proxyC->EndTime(*async, *aTrackCount, *aDuration, *aSeconds); } catch(...) { err = -1; } return err; }
int32_t STDCALL CpProxyAvOpenhomeOrgTime1SyncTime(THandle aHandle, uint32_t* aTrackCount, uint32_t* aDuration, uint32_t* aSeconds) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); int32_t err = 0; try { proxyC->SyncTime(*aTrackCount, *aDuration, *aSeconds); } catch (ProxyError& ) { err = -1; *aTrackCount = 0; *aDuration = 0; *aSeconds = 0; } return err; }
void STDCALL CpProxyAvOpenhomeOrgTime1PropertySeconds(THandle aHandle, uint32_t* aSeconds) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); proxyC->PropertySeconds(*aSeconds); }
void STDCALL CpProxyAvOpenhomeOrgTime1PropertyDuration(THandle aHandle, uint32_t* aDuration) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); proxyC->PropertyDuration(*aDuration); }
void STDCALL CpProxyAvOpenhomeOrgTime1PropertyTrackCount(THandle aHandle, uint32_t* aTrackCount) { CpProxyAvOpenhomeOrgTime1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgTime1C*>(aHandle); ASSERT(proxyC != NULL); proxyC->PropertyTrackCount(*aTrackCount); }