mirror of https://github.com/BOINC/boinc.git
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:
parent
66724e2cd7
commit
bd55372ebe
|
@ -1,6 +1,12 @@
|
||||||
#ifndef _GRAPHICS2_H_
|
#ifndef _GRAPHICS2_H_
|
||||||
#define _GRAPHICS2_H_
|
#define _GRAPHICS2_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Functions that must be supplied by the app
|
// Functions that must be supplied by the app
|
||||||
//
|
//
|
||||||
extern void app_graphics_render(int xs, int ys, double time_of_day);
|
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_graphics_get_shmem(char*);
|
||||||
extern void boinc_set_windows_icon(const char* icon16,const char* icon48);
|
extern void boinc_set_windows_icon(const char* icon16,const char* icon48);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Implementation stuff
|
// Implementation stuff
|
||||||
//
|
//
|
||||||
extern double boinc_max_fps;
|
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 void get_window_title(char* buf, int len);
|
||||||
extern bool throttled_app_render(int, int, double);
|
extern bool throttled_app_render(int, int, double);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue