28 lines
809 B
Rust
28 lines
809 B
Rust
//Automatically generated by rifgen
|
|
use crate::*;
|
|
use jni_sys::*;
|
|
foreign_enum!(
|
|
enum PopequerAdapterErr {
|
|
ReadDb = PopequerAdapterErr::ReadDb,
|
|
Indexing = PopequerAdapterErr::Indexing,
|
|
View = PopequerAdapterErr::View,
|
|
}
|
|
);
|
|
foreign_class!(
|
|
class Foo {
|
|
self_type Foo;
|
|
constructor Foo::new(val : i32)->Foo;
|
|
fn Foo::f(& self , a : i32 , b : i32)->i32; alias f;
|
|
fn Foo::get_data(& self)->i32; alias getData;
|
|
# [doc = "Custom doc comment"]
|
|
fn Foo::set_field(& mut self , v : i32); alias setField;
|
|
}
|
|
);
|
|
foreign_class!(
|
|
class PopequerAdapter {
|
|
self_type PopequerAdapter;
|
|
constructor PopequerAdapter::new(notebook_fs_path : String)->PopequerAdapter;
|
|
fn PopequerAdapter::index(& self)->String; alias index;
|
|
fn PopequerAdapter::upcoming_events(& self)->String; alias upcomingEvents;
|
|
}
|
|
);
|