Implement configurable system volume following and replace JSON IPC with binary struct. - New Feature: Introduce `system_volume_following` CLI and runtime option. - Enhancement: Extend CLI options, reload, and user‑config APIs to propagate the new flag. - Enhancement: Add `VbxEvent` binary IPC struct and logging macros for better performance. - Enhancement: Add helper to persist system volume following state. - Bug Fix: Remove stale `parse_keyboard_event` prototype.
17 lines
677 B
C
17 lines
677 B
C
#ifndef VBX_RELOAD_H
|
|
#define VBX_RELOAD_H
|
|
|
|
int handle_reload(const char *user_cfg_path,
|
|
char *current_sound_name, char *current_mouse_sound_name,
|
|
int *current_keyboard_volume, int *current_mouse_volume,
|
|
char *current_config_path, char *current_sound_dir,
|
|
char *current_mouse_config_path, char *current_mouse_sound_dir,
|
|
int current_mute, int current_verbose,
|
|
int current_keyboard_mute, int current_mouse_mute,
|
|
int *current_keyboard_enabled, int *current_mouse_enabled,
|
|
int *current_system_volume_following);
|
|
|
|
#endif // VBX_RELOAD_H
|
|
|
|
|