示例#1
0
void CSystemImpl::getHasTouchscreen(rho::apiGenerator::CMethodResult& oResult)
{
	oResult.set(true);
}
示例#2
0
 virtual void getEnableWebPlugins(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(true);
 }
示例#3
0
 virtual void getScrollTechnique(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getString("WebView.scrollTechnique") );
 }
示例#4
0
 virtual void getFramework(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(System::getWebviewFramework());
 }
示例#5
0
 //Android only
 virtual void getEnableZoom(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(true);
 }
示例#6
0
 virtual void getZoomPage(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(m_dZoomPage);
 }
示例#7
0
 virtual void currentLocation( int tabIndex, rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( rho_webview_current_location(tabIndex) );
 }
示例#8
0
 virtual void getViewportEnabled(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getBool("WebView.viewportEnabled") );
 }
示例#9
0
 virtual void getNetTrace(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getBool("net_trace") );
 }
示例#10
0
 virtual void joinStrings( const rho::String& a,  const rho::String& b, rho::apiGenerator::CMethodResult& oResult) {
      oResult.set(a+b);
 }
示例#11
0
 virtual void getUserAgent(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getString("WebView.userAgent") );
 }
示例#12
0
 virtual void calcSumm( int a,  int b, rho::apiGenerator::CMethodResult& oResult) {
      oResult.set(a+b);
 }
示例#13
0
void CSystemImpl::getScreenSleeping(rho::apiGenerator::CMethodResult& result)
{
    result.set(mScreenSleeping);
}
示例#14
0
void CSystemImpl::getScreenSleeping(rho::apiGenerator::CMethodResult& oResult)
{
    oResult.set(false);
}
示例#15
0
 virtual void getViewportWidth(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getInt("WebView.viewportWidth") );
 }
示例#16
0
 virtual void getSkipPost(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getBool("log_skip_post") );
 }
示例#17
0
 virtual void getCacheSize(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getInt("WebView.cacheSize") );
 }
示例#18
0
 virtual void getDestinationURI(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getString("Log.destinationURI") );
 }
示例#19
0
 virtual void getTextZoomLevel(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( 1. );//m_nTextZoom
 }
示例#20
0
 virtual void getLevel(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( LOGCONF().getMinSeverity() );
 }
示例#21
0
 virtual void getActiveTab(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( rho_webview_active_tab() );
 }
示例#22
0
 virtual void getExcludeCategories(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(LOGCONF().getDisabledCategories());
 }
示例#23
0
 virtual void getFullScreen(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(rho_webview_get_full_screen() != 0 ? true : false );
 }
示例#24
0
 virtual void getFileSize(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( (int)LOGCONF().getMaxLogFileSize() );
 }
示例#25
0
 virtual void getEnablePageLoadingIndication(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(false);
 }
示例#26
0
 virtual void getFilePath(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( LOGCONF().getLogFilePath() );
 }
示例#27
0
 virtual void getNavigationTimeout(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set(m_nNavigationTimeout);
 }
示例#28
0
 virtual void getMemoryPeriod(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( (int)LOGCONF().getCollectMemoryInfoInterval() );
 }
示例#29
0
 virtual void getFontFamily(rho::apiGenerator::CMethodResult& oResult)
 {
     oResult.set( RHOCONF().getString("WebView.fontFamily") );
 }
示例#30
0
void CSystemImpl::getWebviewFramework(rho::apiGenerator::CMethodResult& oResult)
{
    oResult.set(String("WEBKIT/" QTWEBKIT_VERSION_STR));
}