/*********************************************************************** * Header files for the boinclet, the BOINC graphics test stand * * Eric Myers * @(#) $Id: boinclet.h,v 3.2 2006/11/22 16:55:58 myers Exp $ **********************************************************************/ #ifdef _WIN32 // Stuff we only need on Windows: #include "boinc_win.h" #include #else // unix or Mac #include #include #endif /**************************************** * General BOINC API: */ #include "boinc_api.h" #include "app_ipc.h" // APP_INIT_DATA #if !defined(HAVE_STRLCPY) extern size_t strlcpy(char*, const char*, size_t); #endif #define safe_strcpy(x, y) strlcpy(x, y, sizeof(x)) double dtime(); /**************************************** * Graphics: */ #ifdef BOINC_APP_GRAPHICS #ifdef __APPLE_CC__ // Apple Graphics: #include #include #include #elif _WIN32 // WIN32 graphics: #include // need GLUT? #else // Unix graphics: #include //#include // virtual root window for xscreensaver? #endif #include "graphics_api.h" // general BOINC graphics API #endif // BOINC_APP_GRAPHICS //EOF boinclet.h//