本文整理汇总了C++中rho::apigenerator::CMethodResult::set方法的典型用法代码示例。如果您正苦于以下问题:C++ CMethodResult::set方法的具体用法?C++ CMethodResult::set怎么用?C++ CMethodResult::set使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类rho::apigenerator::CMethodResult
的用法示例。
在下文中一共展示了CMethodResult::set方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: getHasTouchscreen
void CSystemImpl::getHasTouchscreen(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set(true);
}
示例2: getEnableWebPlugins
virtual void getEnableWebPlugins(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set(true);
}
示例3: getScrollTechnique
virtual void getScrollTechnique(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getString("WebView.scrollTechnique") );
}
示例4: getFramework
virtual void getFramework(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set(System::getWebviewFramework());
}
示例5: getEnableZoom
//Android only
virtual void getEnableZoom(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set(true);
}
示例6: getZoomPage
virtual void getZoomPage(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set(m_dZoomPage);
}
示例7: currentLocation
virtual void currentLocation( int tabIndex, rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( rho_webview_current_location(tabIndex) );
}
示例8: getViewportEnabled
virtual void getViewportEnabled(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getBool("WebView.viewportEnabled") );
}
示例9: getNetTrace
virtual void getNetTrace(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getBool("net_trace") );
}
示例10: getUserAgent
virtual void getUserAgent(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getString("WebView.userAgent") );
}
示例11: getScreenSleeping
void CSystemImpl::getScreenSleeping(rho::apiGenerator::CMethodResult& result)
{
result.set(mScreenSleeping);
}
示例12: getScreenSleeping
void CSystemImpl::getScreenSleeping(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set(false);
}
示例13: getViewportWidth
virtual void getViewportWidth(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getInt("WebView.viewportWidth") );
}
示例14: getSkipPost
virtual void getSkipPost(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getBool("log_skip_post") );
}
示例15: getCacheSize
virtual void getCacheSize(rho::apiGenerator::CMethodResult& oResult)
{
oResult.set( RHOCONF().getInt("WebView.cacheSize") );
}