feature: saving previous selection

This commit is contained in:
rmntgx
2025-05-21 00:22:04 +05:00
parent 4361e1d9a2
commit 4a83e5d825
4 changed files with 63 additions and 2 deletions

12
include/launch_state.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _LAUNCHSTATEH_
#define _LAUNCHSTATEH_
struct LaunchState {
int user_opt;
int session_opt;
};
struct LaunchState read_launch_state();
bool write_launch_state(struct LaunchState state);
#endif