Пример #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));
}