comparison 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
comparison
equal deleted inserted replaced
3:8df8af626dca 4:59bf702b2b21
2 #define __config_h 2 #define __config_h
3 #ifndef WIN32_LEAN_AND_MEAN 3 #ifndef WIN32_LEAN_AND_MEAN
4 # define WIN32_LEAN_AND_MEAN 4 # define WIN32_LEAN_AND_MEAN
5 #endif 5 #endif
6 #include <windows.h> 6 #include <windows.h>
7 struct config_t { 7 struct config {
8 int display_title; 8 int display_title;
9 int show_elapsed_time; 9 int show_elapsed_time;
10 }; 10 };
11 11
12 int cfg_load(struct config_t* config); 12 int cfg_load(struct config* config);
13 int cfg_save(struct config_t config); 13 int cfg_save(struct config config);
14 BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 14 BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
15 #endif 15 #endif