void CSystemImpl::getHasTouchscreen(rho::apiGenerator::CMethodResult& oResult) { oResult.set(true); }
virtual void getEnableWebPlugins(rho::apiGenerator::CMethodResult& oResult) { oResult.set(true); }
virtual void getScrollTechnique(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getString("WebView.scrollTechnique") ); }
virtual void getFramework(rho::apiGenerator::CMethodResult& oResult) { oResult.set(System::getWebviewFramework()); }
//Android only virtual void getEnableZoom(rho::apiGenerator::CMethodResult& oResult) { oResult.set(true); }
virtual void getZoomPage(rho::apiGenerator::CMethodResult& oResult) { oResult.set(m_dZoomPage); }
virtual void currentLocation( int tabIndex, rho::apiGenerator::CMethodResult& oResult) { oResult.set( rho_webview_current_location(tabIndex) ); }
virtual void getViewportEnabled(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getBool("WebView.viewportEnabled") ); }
virtual void getNetTrace(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getBool("net_trace") ); }
virtual void joinStrings( const rho::String& a, const rho::String& b, rho::apiGenerator::CMethodResult& oResult) { oResult.set(a+b); }
virtual void getUserAgent(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getString("WebView.userAgent") ); }
virtual void calcSumm( int a, int b, rho::apiGenerator::CMethodResult& oResult) { oResult.set(a+b); }
void CSystemImpl::getScreenSleeping(rho::apiGenerator::CMethodResult& result) { result.set(mScreenSleeping); }
void CSystemImpl::getScreenSleeping(rho::apiGenerator::CMethodResult& oResult) { oResult.set(false); }
virtual void getViewportWidth(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getInt("WebView.viewportWidth") ); }
virtual void getSkipPost(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getBool("log_skip_post") ); }
virtual void getCacheSize(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getInt("WebView.cacheSize") ); }
virtual void getDestinationURI(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getString("Log.destinationURI") ); }
virtual void getTextZoomLevel(rho::apiGenerator::CMethodResult& oResult) { oResult.set( 1. );//m_nTextZoom }
virtual void getLevel(rho::apiGenerator::CMethodResult& oResult) { oResult.set( LOGCONF().getMinSeverity() ); }
virtual void getActiveTab(rho::apiGenerator::CMethodResult& oResult) { oResult.set( rho_webview_active_tab() ); }
virtual void getExcludeCategories(rho::apiGenerator::CMethodResult& oResult) { oResult.set(LOGCONF().getDisabledCategories()); }
virtual void getFullScreen(rho::apiGenerator::CMethodResult& oResult) { oResult.set(rho_webview_get_full_screen() != 0 ? true : false ); }
virtual void getFileSize(rho::apiGenerator::CMethodResult& oResult) { oResult.set( (int)LOGCONF().getMaxLogFileSize() ); }
virtual void getEnablePageLoadingIndication(rho::apiGenerator::CMethodResult& oResult) { oResult.set(false); }
virtual void getFilePath(rho::apiGenerator::CMethodResult& oResult) { oResult.set( LOGCONF().getLogFilePath() ); }
virtual void getNavigationTimeout(rho::apiGenerator::CMethodResult& oResult) { oResult.set(m_nNavigationTimeout); }
virtual void getMemoryPeriod(rho::apiGenerator::CMethodResult& oResult) { oResult.set( (int)LOGCONF().getCollectMemoryInfoInterval() ); }
virtual void getFontFamily(rho::apiGenerator::CMethodResult& oResult) { oResult.set( RHOCONF().getString("WebView.fontFamily") ); }
void CSystemImpl::getWebviewFramework(rho::apiGenerator::CMethodResult& oResult) { oResult.set(String("WEBKIT/" QTWEBKIT_VERSION_STR)); }