blob: 42ccca275ca58682a7ac338f16337998c6654b8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
/* config.h — UI layout persistence contract.
*
* Owns: loading/saving UILayout to study-player.cfg.
* UILayout itself lives in types.h (the shared-types header). */
#include "types.h"
/* Load layout from <exeDir>/study-player.cfg; returns 1 if loaded, 0 if
* the file was missing or unreadable (defaults are applied either way). */
int config_load(const char *exePath, UILayout *layout);
/* Save layout to <exeDir>/study-player.cfg; returns 1 on success. */
int config_save(const char *exePath, const UILayout *layout);
|