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