Sha256: 6e3efc82079d82219001daf5711a22d1e153289499f70a1d613cdd9f8dfd771e

Contents?: true

Size: 789 Bytes

Versions: 6

Compression:

Stored size: 789 Bytes

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
%}

%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);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rhodes-2.2.6 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.2.6.beta.1 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.2.5 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.2.5.beta.3 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.2.5.beta.2 platform/shared/ruby/ext/nativebar/nativebar.i
rhodes-2.2.5.beta.1 platform/shared/ruby/ext/nativebar/nativebar.i