view 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
line wrap: on
line source

#ifndef __config_h
#define __config_h

struct config {
	int display_song_info; // override all of the display settings
	int display_album_art;
	int display_title;
	int display_album_name;
	int display_artist_name;
	int show_elapsed_time;
};

extern struct config config;

int cfg_load(struct config* config);
int cfg_save(const struct config* config);
#endif