view src/include/config.h @ 4:59bf702b2b21

*: stylistic changes
author Paper <mrpapersonic@gmail.com>
date Sun, 14 Aug 2022 13:17:32 -0400
parents 7abb5d8b20ea
children 42ac054c0231
line wrap: on
line source

#ifndef __config_h
#define __config_h
#ifndef WIN32_LEAN_AND_MEAN
#  define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
struct config {
	int display_title;
	int show_elapsed_time;
};

int cfg_load(struct config* config);
int cfg_save(struct config config);
BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
#endif