Sha256: b02515806f6caa5bd44ba4e70362489618e60de8542f1d5c8b6f63929e5969ec

Contents?: true

Size: 1.38 KB

Versions: 9

Compression:

Stored size: 1.38 KB

Contents

/* nativebar.i */
%module NativeBar
%{
#include "ext/rho/rhoruby.h"

extern void create_nativebar(int bar_type, rho_param *p);
#define create create_nativebar
extern void remove_nativebar();
#define remove remove_nativebar
extern void nativebar_switch_tab(int index);
#define switch_tab nativebar_switch_tab
extern VALUE nativebar_started();
#define started nativebar_started
extern void nativebar_set_tab_badge(int index,char *val);
#define set_tab_badge nativebar_set_tab_badge

extern void create_native_toolbar(int bar_type, rho_param *p);
extern void remove_native_toolbar();
extern void create_native_tabbar(int bar_type, rho_param *p);
extern void remove_native_tabbar();
extern void native_tabbar_switch_tab(int index);
extern void native_tabbar_set_tab_badge(int index,char *val);
%}

%typemap(in) (rho_param *p) {
  $1 = rho_param_fromvalue($input);
}

%typemap(freearg) (rho_param *p) {
  rho_param_free($1);
}

extern void create(int bar_type, rho_param *p);
extern void remove();
extern void switch_tab(int index);
extern VALUE started();
extern void set_tab_badge(int index,char* val);


extern void create_native_toolbar(int bar_type, rho_param *p);
extern void remove_native_toolbar();
extern void create_native_tabbar(int bar_type, rho_param *p);
extern void remove_native_tabbar();
extern void native_tabbar_switch_tab(int index);
extern void native_tabbar_set_tab_badge(int index,char *val);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rhodes-2.3.2 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.2.beta.2 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.2.beta.1 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.1 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.1.beta.1 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.0 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.0.beta.3 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.0.beta.2 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.3.0.beta.1 platform/shared/ruby/ext/nativebar/nativebar.i