VALUE rho_ringtone_manager_get_all()
 {
     //TODO: rho_ringtone_manager_get_all
     RAWLOGC_INFO("RingtoneManager", __FUNCTION__);
     CHoldRubyValue retval(rho_ruby_createHash());
     return retval;
 }
Beispiel #2
0
RHO_GLOBAL void JNICALL Java_com_rhomobile_rhodes_Logger_D
  (JNIEnv *env, jclass, jstring tag, jstring msg)
{
#ifdef _DEBUG
    RAWLOGC_INFO(rho_cast<std::string>(env, tag).c_str(), rho_cast<std::string>(env, msg).c_str());
#endif
}
Beispiel #3
0
void QtMainWindow::on_webView_loadFinished(bool ok)
{
//    LOG(INFO) + (ok?"WebView: loaded ":"WebView: failed ");
    if (ok)
        RAWLOGC_INFO("WebView", "Page load complete." );
    else
        RAWLOGC_ERROR("WebView", "Page load failed." );

#ifdef OS_MACOSX
    if (mainWindowCallback && ok) mainWindowCallback->onWebViewUrlChanged(ui->webView->url().toString().toStdString());
#endif
}
Beispiel #4
0
void remove_nativebar() 
{
	RAWLOGC_INFO("NativeBar", "NativeBar.remove() is DEPRECATED API ! Please use Rho::NativeToolbar.remove() or Rho::NativeTabbar.remove().");
	remove_native_toolbar();
}
Beispiel #5
0
void create_nativebar(int bar_type, rho_param *p) 
{
	RAWLOGC_INFO("NativeBar", "NativeBar.create() is DEPRECATED. Use Rho::NativeToolbar.create() or Rho::NativeTabbar.create().");
    create_native_toolbar(bar_type, p);
}
Beispiel #6
0
void nativebar_switch_tab(int index)
{
	RAWLOGC_INFO("NativeBar", "NativeBar.switch_tab() is DEPRECATED. Use Rho::NativeTabbar.switch_tab().");
	native_tabbar_switch_tab(index);
}
Beispiel #7
0
void nativebar_set_tab_badge(int index,char* val)
{
	RAWLOGC_INFO("NativeBar", "NativeBar.set_tab_badge() is DEPRECATED. Use Rho::NativeTabbar.set_tab_badge().");
    native_tabbar_set_tab_badge(index, val);
}