X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Flib%2Fsdl2%2Fsdlsystem.inc;h=69bfc0821b16df131d34bf00d6b068c48c8dc8b8;hb=2f2f9c997a76f5394c4deb2fa7d54b99a6186c87;hp=9849bb0f09527f065deeb7e8c75ec3350daf94ed;hpb=30bcb89f4decd5b5885ebde1fbb943b6563b1e3e;p=d2df-sdl.git diff --git a/src/lib/sdl2/sdlsystem.inc b/src/lib/sdl2/sdlsystem.inc index 9849bb0..69bfc08 100644 --- a/src/lib/sdl2/sdlsystem.inc +++ b/src/lib/sdl2/sdlsystem.inc @@ -1,7 +1,7 @@ // from "SDL_system.h" (* Platform specific functions for Windows *) -{$IF DEFINED(WIN32) OR DEFINED(WIN64)} +{$IF DEFINED(WIN32) OR DEFINED(WIN64)} {* Returns the D3D9 adapter index that matches the specified display index. * This adapter index can be passed to IDirect3D9::CreateDevice and controls @@ -17,7 +17,7 @@ Type PIDirect3DDevice9 = Pointer; Function SDL_RenderGetD3D9Device(renderer:PSDL_Renderer):PIDirect3DDevice9; cdecl; external SDL_LibName; -{* Returns the DXGI Adapter and Output indices for the specified display index. +{* Returns the DXGI Adapter and Output indices for the specified display index. * These can be passed to EnumAdapters and EnumOutputs respectively to get the objects * required to create a DX10 or DX11 device and swap chain. *} @@ -94,3 +94,16 @@ Function SDL_WinRTGetFSPathUTF8(pathType :TSDL_WinRT_Path):PChar; cdecl; external SDL_LibName; {$ENDIF} + +{$IF DEFINED(ANDROID)} + +Function SDL_AndroidGetExternalStorageState:SInt32; + cdecl; external SDL_LibName; + +Function SDL_AndroidGetExternalStoragePath:PChar; + cdecl; external SDL_LibName; + +Function SDL_AndroidGetInternalStoragePath:PChar; + cdecl; external SDL_LibName; + +{$ENDIF}