include/SDL_system.h
changeset 7742 84e32c3d415c
parent 7264 23a5c8f4b312
child 7763 fc802d707136
equal deleted inserted replaced
7741:199d77d7bf1c 7742:84e32c3d415c
    38 #include "begin_code.h"
    38 #include "begin_code.h"
    39 /* Set up for C function definitions, even when using C++ */
    39 /* Set up for C function definitions, even when using C++ */
    40 #ifdef __cplusplus
    40 #ifdef __cplusplus
    41 extern "C" {
    41 extern "C" {
    42 #endif
    42 #endif
       
    43 
       
    44 
       
    45 /* Platform specific functions for Windows */
       
    46 #ifdef __WIN32__
       
    47 
       
    48 /* Returns the D3D9 adapter index that matches the specified display index.
       
    49    This adapter index can be passed to IDirect3D9::CreateDevice and controls
       
    50    on which monitor a full screen application will appear.
       
    51 */
       
    52 extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
       
    53 
       
    54 #endif /* __WIN32__ */
       
    55 
    43 
    56 
    44 /* Platform specific functions for iOS */
    57 /* Platform specific functions for iOS */
    45 #if defined(__IPHONEOS__) && __IPHONEOS__
    58 #if defined(__IPHONEOS__) && __IPHONEOS__
    46 
    59 
    47 extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (*callback)(void*), void *callbackParam);
    60 extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (*callback)(void*), void *callbackParam);
    91  */
   104  */
    92 extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath();
   105 extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath();
    93 
   106 
    94 #endif /* __ANDROID__ */
   107 #endif /* __ANDROID__ */
    95 
   108 
    96 
       
    97 /* Ends C function definitions when using C++ */
   109 /* Ends C function definitions when using C++ */
    98 #ifdef __cplusplus
   110 #ifdef __cplusplus
    99 }
   111 }
   100 #endif
   112 #endif
   101 #include "close_code.h"
   113 #include "close_code.h"