Files
SilentDragonXLite/lib/silentdragonxlitelib.h
DanS cc34cc3f21 Add clean shutdown, wallet safety, and UI contrast fixes
Shutdown:
- Call litelib_shutdown() to stop Rust background threads on exit
- Add 15-second timeout on wallet save dialog to prevent hang on close
- Add litelib_shutdown FFI declaration in header and controller

UI Contrast (dragonx theme):
- Fix disabled buttons: white text was invisible on white background
- Add QWizard, QMessageBox, QTextBrowser, QPlainTextEdit styling for dark theme
- Add QCheckBox, QRadioButton, QDialogButtonBox contrast rules
- Fix seed word verification buttons: dark themed with explicit text color
- Fix chat bubbles: replace light backgrounds with dark themed colors
- Fix Terms of Service link color: #0000ff -> #6699ff for visibility
- Remove duplicate conflicting QLabel#lblMessage CSS rule

Add v1.1.0 release notes with checksums
2026-03-21 05:39:19 -05:00

29 lines
1.1 KiB
C

#ifndef _hush_PAPER_RUST_H
#define _hush_PAPER_RUST_H
#ifdef __cplusplus
extern "C" {
#endif
extern bool litelib_wallet_exists (const char* chain_name);
extern char * litelib_initialize_new (bool dangerous, const char* server);
extern char * litelib_initialize_new_from_phrase
(bool dangerous, const char* server, const char* seed,
unsigned long long birthday, unsigned long long number);
extern char * litelib_initialize_existing (bool dangerous,const char* server);
extern char * litelib_execute (const char* s, const char* args);
extern void litelib_rust_free_string (char* s);
extern char * blake3_PW (char* pw);
extern bool litelib_check_server_online (const char* server);
extern void litelib_shutdown (void);
#ifdef __cplusplus
}
#endif
// This is a function implemented in connection.cpp that will process a string response from
// the litelib and turn into into a QString in a memory-safe way.
QString litelib_process_response(char* resp);
#endif