diff --git a/api/graphics2.h b/api/graphics2.h
index 1dc5504..71f944b 100644
|
a
|
b
|
|
| 18 | 18 | #ifndef _GRAPHICS2_H_ |
| 19 | 19 | #define _GRAPHICS2_H_ |
| 20 | 20 | |
| | 21 | #ifdef __cplusplus |
| | 22 | extern "C" { |
| | 23 | #endif |
| | 24 | |
| 21 | 25 | // Functions that must be supplied by the app |
| 22 | 26 | // |
| 23 | 27 | extern void app_graphics_render(int xs, int ys, double time_of_day); |
| … |
… |
extern void boinc_app_key_release(int, int); |
| 30 | 34 | |
| 31 | 35 | // Functions that the app can call |
| 32 | 36 | // |
| 33 | | extern void boinc_graphics_loop(int argc, char** argv, const char* title=0); |
| | 37 | extern void boinc_graphics_loop(int argc, char** argv, const char* title); |
| 34 | 38 | extern void* boinc_graphics_make_shmem(const char*, int); |
| 35 | 39 | extern void* boinc_graphics_get_shmem(const char*); |
| 36 | 40 | extern void boinc_set_windows_icon(const char* icon16,const char* icon48); |
| … |
… |
extern double boinc_max_gfx_cpu_frac; |
| 43 | 47 | extern void get_window_title(char* buf, int len); |
| 44 | 48 | extern bool throttled_app_render(int, int, double); |
| 45 | 49 | |
| | 50 | #ifdef __cplusplus |
| | 51 | } |
| 46 | 52 | #endif |
| | 53 | |
| | 54 | #endif /* _GRAPHICS2_H_ */ |
| | 55 | |
| | 56 | |