pub mod backend;
pub mod files;
pub mod connection;
pub mod auth;
pub mod default_app;
pub mod local_proxy;
pub mod platform;
pub mod print;
pub mod updater;
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,
    get_update_mode,
    is_first_launch,
    reset_setup_completion,
    set_connection_mode,
    set_update_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 local_proxy::proxy_local_pdf_request;
pub use platform::get_desktop_os;
pub use print::print_pdf_file_native;
pub use updater::{
    can_install_updates, check_for_update, download_and_install_update, get_app_version,
    restart_app,
};
