Sha256: f88064a1419f45b638f2a4470ab826885e10efad88734ce2fb7130dcd992470a
Contents?: true
Size: 1.91 KB
Versions: 17
Compression:
Stored size: 1.91 KB
Contents
#include "../../../wp8/rhoruntime/common/RhoConvertWP8.h" #include "MethodResultImpl.h" namespace rhoruntime { CMethodResultImpl::CMethodResultImpl(): oResult(new rho::apiGenerator::CMethodResult()) { } CMethodResultImpl::CMethodResultImpl(int64 native): oResult((rho::apiGenerator::CMethodResult*)native) { } int64 CMethodResultImpl::getNative() { return (int64)oResult; } bool CMethodResultImpl::hasCallback() { return oResult->hasCallback(); } void CMethodResultImpl::set(bool res) { oResult->set(res); } void CMethodResultImpl::set(int64 res) { oResult->set(res); } void CMethodResultImpl::set(int res) { oResult->set(res); } void CMethodResultImpl::set(double res) { oResult->set(res); } void CMethodResultImpl::set(Platform::String^ res) { oResult->set(rho::common::convertStringWFromWP8(res)); } void CMethodResultImpl::set(WFC::IVectorView<Platform::String^>^ res) { oResult->set(rho::common::convertArrayFromWP8(res)); } void CMethodResultImpl::set(WFC::IVectorView<WFC::IMapView<Platform::String^, Platform::String^>^>^ res) { oResult->set(rho::common::convertArrayOfHashesFromWP8(res)); } void CMethodResultImpl::set(WFC::IMapView<Platform::String^, Platform::String^>^ res) { oResult->set(rho::common::convertHashFromWP8(res)); } void CMethodResultImpl::set(WFC::IMapView<Platform::String^, WFC::IVectorView<Platform::String^>^>^ res) { oResult->set(rho::common::convertHashOfArraysFromWP8(res)); } void CMethodResultImpl::set(WFC::IMapView<Platform::String^, WFC::IMapView<Platform::String^, Platform::String^>^>^ res) { oResult->set(rho::common::convertHashOfHashesFromWP8(res)); } void CMethodResultImpl::setRubyCallback(Platform::String^ strCallback) { oResult->setRubyCallback(rho::common::convertStringAFromWP8(strCallback)); } Platform::String^ CMethodResultImpl::getRubyCallback() { return rho::common::convertStringToWP8(oResult->getRubyCallback()); } }
Version data entries
17 entries across 17 versions & 2 rubygems