annotate include/config.h @ 12:dd427b7cc459
default tip
json: replace with nxjson library
more lightweight, reduces the binary size by about 40 kb
author |
Paper <paper@paper.us.eu.org> |
date |
Fri, 15 Mar 2024 20:46:18 -0400 |
parents |
e6a594f16403 |
children |
|
rev |
line source |
11
|
1 #ifndef __config_h
|
|
2 #define __config_h
|
|
3
|
|
4 struct config {
|
|
5 int display_song_info; // override all of the display settings
|
|
6 int display_album_art;
|
|
7 int display_title;
|
|
8 int display_album_name;
|
|
9 int display_artist_name;
|
|
10 int show_elapsed_time;
|
|
11 };
|
|
12
|
|
13 extern struct config config;
|
|
14
|
|
15 int cfg_load(struct config* config);
|
|
16 int cfg_save(const struct config* config);
|
|
17 #endif
|