mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
42 lines
994 B
Rust
42 lines
994 B
Rust
pub mod backend;
|
|
pub mod files;
|
|
pub mod connection;
|
|
pub mod auth;
|
|
pub mod default_app;
|
|
pub mod platform;
|
|
pub mod print;
|
|
pub mod window;
|
|
|
|
pub use backend::{cleanup_backend, get_backend_port, start_backend};
|
|
pub use files::{add_opened_file, clear_opened_files, get_opened_files, pop_opened_files};
|
|
pub use window::{
|
|
forward_files_to_window,
|
|
open_files_in_new_window,
|
|
open_in_new_window,
|
|
pop_window_file_ids,
|
|
target_window_label,
|
|
MAIN_WINDOW_LABEL,
|
|
};
|
|
pub use connection::{
|
|
get_connection_config,
|
|
is_first_launch,
|
|
reset_setup_completion,
|
|
set_connection_mode,
|
|
};
|
|
pub use auth::{
|
|
clear_auth_token,
|
|
clear_refresh_token,
|
|
clear_user_info,
|
|
get_auth_token,
|
|
get_refresh_token,
|
|
get_user_info,
|
|
login,
|
|
save_auth_token,
|
|
save_refresh_token,
|
|
save_user_info,
|
|
start_oauth_login,
|
|
};
|
|
pub use default_app::{is_default_pdf_handler, set_as_default_pdf_handler};
|
|
pub use platform::get_desktop_os;
|
|
pub use print::print_pdf_file_native;
|