Matched functions linkage in api/graphics2.h to those in api/graphics_api.h

svn path=/trunk/boinc/; revision=14849
This commit is contained in:
Eric J. Korpela 2008-03-05 22:02:48 +00:00
parent 66724e2cd7
commit bd55372ebe
1 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,12 @@
#ifndef _GRAPHICS2_H_
#define _GRAPHICS2_H_
#ifdef __cplusplus
extern "C" {
#endif
// Functions that must be supplied by the app
//
extern void app_graphics_render(int xs, int ys, double time_of_day);
@ -18,6 +24,10 @@ extern void* boinc_graphics_make_shmem(char*, int);
extern void* boinc_graphics_get_shmem(char*);
extern void boinc_set_windows_icon(const char* icon16,const char* icon48);
#ifdef __cplusplus
}
#endif
// Implementation stuff
//
extern double boinc_max_fps;
@ -25,4 +35,5 @@ extern double boinc_max_gfx_cpu_frac;
extern void get_window_title(char* buf, int len);
extern bool throttled_app_render(int, int, double);
#endif