Files
jack-looper/fs.h
Loic Coenen d5082fc856 refactor: remove global state from fs module and use dispatcher
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
2026-05-03 21:11:12 +00:00

22 lines
514 B
C

#ifndef FS_H
#define FS_H
#include "dispatcher.h"
// Initialize the auto-save thread
void fs_init(void);
// Cleanup the auto-save thread
void fs_cleanup(void);
// Trigger an auto-save (thread-safe, non-blocking)
void fs_trigger_autosave(void);
// Save project to .wheel file (called from dispatcher thread)
int fs_save_project(const char *filename, AppState *state);
// Load project from .wheel file (called from dispatcher thread)
int fs_load_project(const char *filename, AppState *state);
#endif // FS_H