2021-02-16 11:37:18 +01:00
|
|
|
mod error;
|
2021-02-16 11:38:54 +01:00
|
|
|
mod logger;
|
2021-02-16 11:34:01 +01:00
|
|
|
mod machine;
|
|
|
|
|
2021-02-19 16:33:30 +01:00
|
|
|
pub use error::{CryptoStoreError, DecryptionError, MachineCreationError};
|
2021-02-16 11:38:54 +01:00
|
|
|
pub use logger::{set_logger, Logger};
|
2021-03-30 13:46:35 +02:00
|
|
|
pub use machine::{
|
|
|
|
DecryptedEvent, Device, DeviceLists, KeysImportResult, OlmMachine, Request, RequestType, Sas,
|
|
|
|
};
|
|
|
|
|
|
|
|
pub trait ProgressListener {
|
|
|
|
fn on_progress(&self, progress: i32, total: i32);
|
|
|
|
}
|
2021-02-16 11:18:31 +01:00
|
|
|
|
2021-02-09 15:41:01 +01:00
|
|
|
include!(concat!(env!("OUT_DIR"), "/olm.uniffi.rs"));
|