DEADSOFTWARE

Android: improved data unpacking
[d2df-sdl.git] / src / lib / sdl2 / sdlsystem.inc
index 9849bb0f09527f065deeb7e8c75ec3350daf94ed..69bfc0821b16df131d34bf00d6b068c48c8dc8b8 100644 (file)
@@ -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}