Class SDLStorage
java.lang.Object
org.lwjgl.sdl.SDLStorage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic booleannSDL_CopyStorageFile(long storage, long oldpath, long newpath) bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)static booleannSDL_CreateStorageDirectory(long storage, long path) bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)static booleannSDL_EnumerateStorageDirectory(long storage, long path, long callback, long userdata) bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)static booleannSDL_GetStorageFileSize(long storage, long path, long length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)static booleannSDL_GetStoragePathInfo(long storage, long path, long info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)static longnSDL_GlobStorageDirectory(long storage, long path, long pattern, int flags, long count) char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)static longnSDL_OpenFileStorage(long path) SDL_Storage * SDL_OpenFileStorage(char const * path)static longnSDL_OpenStorage(long iface, long userdata) SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata)static longnSDL_OpenTitleStorage(long override, int props) SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)static longnSDL_OpenUserStorage(long org, long app, int props) SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)static booleannSDL_ReadStorageFile(long storage, long path, long destination, long length) bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)static booleannSDL_RemoveStoragePath(long storage, long path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)static booleannSDL_RenameStoragePath(long storage, long oldpath, long newpath) bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)static booleannSDL_WriteStorageFile(long storage, long path, long source, long length) bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)static booleanSDL_CloseStorage(long storage) bool SDL_CloseStorage(SDL_Storage * storage)static booleanSDL_CopyStorageFile(long storage, CharSequence oldpath, CharSequence newpath) bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)static booleanSDL_CopyStorageFile(long storage, ByteBuffer oldpath, ByteBuffer newpath) bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath)static booleanSDL_CreateStorageDirectory(long storage, CharSequence path) bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)static booleanSDL_CreateStorageDirectory(long storage, ByteBuffer path) bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path)static booleanSDL_EnumerateStorageDirectory(long storage, @Nullable CharSequence path, SDL_EnumerateDirectoryCallbackI callback, long userdata) bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)static booleanSDL_EnumerateStorageDirectory(long storage, @Nullable ByteBuffer path, SDL_EnumerateDirectoryCallbackI callback, long userdata) bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata)static booleanSDL_GetStorageFileSize(long storage, CharSequence path, @Nullable LongBuffer length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)static booleanSDL_GetStorageFileSize(long storage, ByteBuffer path, @Nullable LongBuffer length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length)static booleanSDL_GetStoragePathInfo(long storage, CharSequence path, @Nullable SDL_PathInfo info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)static booleanSDL_GetStoragePathInfo(long storage, ByteBuffer path, @Nullable SDL_PathInfo info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info)static longSDL_GetStorageSpaceRemaining(long storage) Uint64 SDL_GetStorageSpaceRemaining(SDL_Storage * storage)static @Nullable PointerBufferSDL_GlobStorageDirectory(long storage, @Nullable CharSequence path, @Nullable CharSequence pattern, int flags) char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)static @Nullable PointerBufferSDL_GlobStorageDirectory(long storage, @Nullable ByteBuffer path, @Nullable ByteBuffer pattern, int flags) char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count)static voidvoid SDL_INIT_INTERFACE(SDL_StorageInterface * iface)static longSDL_Storage * SDL_OpenFileStorage(char const * path)static longSDL_Storage * SDL_OpenFileStorage(char const * path)static longSDL_OpenStorage(SDL_StorageInterface iface, long userdata) SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata)static longSDL_OpenTitleStorage(@Nullable CharSequence override, int props) SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)static longSDL_OpenTitleStorage(@Nullable ByteBuffer override, int props) SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props)static longSDL_OpenUserStorage(CharSequence org, CharSequence app, int props) SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)static longSDL_OpenUserStorage(ByteBuffer org, ByteBuffer app, int props) SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props)static booleanSDL_ReadStorageFile(long storage, CharSequence path, ByteBuffer destination) bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)static booleanSDL_ReadStorageFile(long storage, ByteBuffer path, ByteBuffer destination) bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length)static booleanSDL_RemoveStoragePath(long storage, CharSequence path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)static booleanSDL_RemoveStoragePath(long storage, ByteBuffer path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path)static booleanSDL_RenameStoragePath(long storage, CharSequence oldpath, CharSequence newpath) bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)static booleanSDL_RenameStoragePath(long storage, ByteBuffer oldpath, ByteBuffer newpath) bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath)static booleanSDL_StorageReady(long storage) bool SDL_StorageReady(SDL_Storage * storage)static booleanSDL_WriteStorageFile(long storage, CharSequence path, ByteBuffer source) bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)static booleanSDL_WriteStorageFile(long storage, ByteBuffer path, ByteBuffer source) bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length)
-
Method Details
-
nSDL_OpenTitleStorage
public static long nSDL_OpenTitleStorage(long override, int props) SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props) -
SDL_OpenTitleStorage
@NativeType("SDL_Storage *") public static long SDL_OpenTitleStorage(@NativeType("char const *") @Nullable ByteBuffer override, @NativeType("SDL_PropertiesID") int props) SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props) -
SDL_OpenTitleStorage
@NativeType("SDL_Storage *") public static long SDL_OpenTitleStorage(@NativeType("char const *") @Nullable CharSequence override, @NativeType("SDL_PropertiesID") int props) SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props) -
nSDL_OpenUserStorage
public static long nSDL_OpenUserStorage(long org, long app, int props) SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props) -
SDL_OpenUserStorage
@NativeType("SDL_Storage *") public static long SDL_OpenUserStorage(@NativeType("char const *") ByteBuffer org, @NativeType("char const *") ByteBuffer app, @NativeType("SDL_PropertiesID") int props) SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props) -
SDL_OpenUserStorage
@NativeType("SDL_Storage *") public static long SDL_OpenUserStorage(@NativeType("char const *") CharSequence org, @NativeType("char const *") CharSequence app, @NativeType("SDL_PropertiesID") int props) SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props) -
nSDL_OpenFileStorage
public static long nSDL_OpenFileStorage(long path) SDL_Storage * SDL_OpenFileStorage(char const * path) -
SDL_OpenFileStorage
@NativeType("SDL_Storage *") public static long SDL_OpenFileStorage(@NativeType("char const *") ByteBuffer path) SDL_Storage * SDL_OpenFileStorage(char const * path) -
SDL_OpenFileStorage
@NativeType("SDL_Storage *") public static long SDL_OpenFileStorage(@NativeType("char const *") CharSequence path) SDL_Storage * SDL_OpenFileStorage(char const * path) -
nSDL_OpenStorage
public static long nSDL_OpenStorage(long iface, long userdata) SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata) -
SDL_OpenStorage
@NativeType("SDL_Storage *") public static long SDL_OpenStorage(@NativeType("SDL_StorageInterface const *") SDL_StorageInterface iface, @NativeType("void *") long userdata) SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata) -
SDL_CloseStorage
@NativeType("bool") public static boolean SDL_CloseStorage(@NativeType("SDL_Storage *") long storage) bool SDL_CloseStorage(SDL_Storage * storage) -
SDL_StorageReady
@NativeType("bool") public static boolean SDL_StorageReady(@NativeType("SDL_Storage *") long storage) bool SDL_StorageReady(SDL_Storage * storage) -
nSDL_GetStorageFileSize
public static boolean nSDL_GetStorageFileSize(long storage, long path, long length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length) -
SDL_GetStorageFileSize
@NativeType("bool") public static boolean SDL_GetStorageFileSize(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer path, @NativeType("Uint64 *") @Nullable LongBuffer length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length) -
SDL_GetStorageFileSize
@NativeType("bool") public static boolean SDL_GetStorageFileSize(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence path, @NativeType("Uint64 *") @Nullable LongBuffer length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length) -
nSDL_ReadStorageFile
public static boolean nSDL_ReadStorageFile(long storage, long path, long destination, long length) bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length) -
SDL_ReadStorageFile
@NativeType("bool") public static boolean SDL_ReadStorageFile(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer path, @NativeType("void *") ByteBuffer destination) bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length) -
SDL_ReadStorageFile
@NativeType("bool") public static boolean SDL_ReadStorageFile(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence path, @NativeType("void *") ByteBuffer destination) bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length) -
nSDL_WriteStorageFile
public static boolean nSDL_WriteStorageFile(long storage, long path, long source, long length) bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length) -
SDL_WriteStorageFile
@NativeType("bool") public static boolean SDL_WriteStorageFile(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer path, @NativeType("void const *") ByteBuffer source) bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length) -
SDL_WriteStorageFile
@NativeType("bool") public static boolean SDL_WriteStorageFile(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence path, @NativeType("void const *") ByteBuffer source) bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length) -
nSDL_CreateStorageDirectory
public static boolean nSDL_CreateStorageDirectory(long storage, long path) bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path) -
SDL_CreateStorageDirectory
@NativeType("bool") public static boolean SDL_CreateStorageDirectory(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer path) bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path) -
SDL_CreateStorageDirectory
@NativeType("bool") public static boolean SDL_CreateStorageDirectory(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence path) bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path) -
nSDL_EnumerateStorageDirectory
public static boolean nSDL_EnumerateStorageDirectory(long storage, long path, long callback, long userdata) bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata) -
SDL_EnumerateStorageDirectory
@NativeType("bool") public static boolean SDL_EnumerateStorageDirectory(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") @Nullable ByteBuffer path, @NativeType("SDL_EnumerateDirectoryCallback") SDL_EnumerateDirectoryCallbackI callback, @NativeType("void *") long userdata) bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata) -
SDL_EnumerateStorageDirectory
@NativeType("bool") public static boolean SDL_EnumerateStorageDirectory(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") @Nullable CharSequence path, @NativeType("SDL_EnumerateDirectoryCallback") SDL_EnumerateDirectoryCallbackI callback, @NativeType("void *") long userdata) bool SDL_EnumerateStorageDirectory(SDL_Storage * storage, char const * path, SDL_EnumerateDirectoryCallback callback, void * userdata) -
nSDL_RemoveStoragePath
public static boolean nSDL_RemoveStoragePath(long storage, long path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path) -
SDL_RemoveStoragePath
@NativeType("bool") public static boolean SDL_RemoveStoragePath(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path) -
SDL_RemoveStoragePath
@NativeType("bool") public static boolean SDL_RemoveStoragePath(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path) -
nSDL_RenameStoragePath
public static boolean nSDL_RenameStoragePath(long storage, long oldpath, long newpath) bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath) -
SDL_RenameStoragePath
@NativeType("bool") public static boolean SDL_RenameStoragePath(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer oldpath, @NativeType("char const *") ByteBuffer newpath) bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath) -
SDL_RenameStoragePath
@NativeType("bool") public static boolean SDL_RenameStoragePath(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence oldpath, @NativeType("char const *") CharSequence newpath) bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath) -
nSDL_CopyStorageFile
public static boolean nSDL_CopyStorageFile(long storage, long oldpath, long newpath) bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath) -
SDL_CopyStorageFile
@NativeType("bool") public static boolean SDL_CopyStorageFile(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer oldpath, @NativeType("char const *") ByteBuffer newpath) bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath) -
SDL_CopyStorageFile
@NativeType("bool") public static boolean SDL_CopyStorageFile(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence oldpath, @NativeType("char const *") CharSequence newpath) bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath) -
nSDL_GetStoragePathInfo
public static boolean nSDL_GetStoragePathInfo(long storage, long path, long info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info) -
SDL_GetStoragePathInfo
@NativeType("bool") public static boolean SDL_GetStoragePathInfo(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") ByteBuffer path, @NativeType("SDL_PathInfo *") @Nullable SDL_PathInfo info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info) -
SDL_GetStoragePathInfo
@NativeType("bool") public static boolean SDL_GetStoragePathInfo(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") CharSequence path, @NativeType("SDL_PathInfo *") @Nullable SDL_PathInfo info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info) -
SDL_GetStorageSpaceRemaining
@NativeType("Uint64") public static long SDL_GetStorageSpaceRemaining(@NativeType("SDL_Storage *") long storage) Uint64 SDL_GetStorageSpaceRemaining(SDL_Storage * storage) -
nSDL_GlobStorageDirectory
public static long nSDL_GlobStorageDirectory(long storage, long path, long pattern, int flags, long count) char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count) -
SDL_GlobStorageDirectory
@NativeType("char **") public static @Nullable PointerBuffer SDL_GlobStorageDirectory(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") @Nullable ByteBuffer path, @NativeType("char const *") @Nullable ByteBuffer pattern, @NativeType("SDL_GlobFlags") int flags) char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count) -
SDL_GlobStorageDirectory
@NativeType("char **") public static @Nullable PointerBuffer SDL_GlobStorageDirectory(@NativeType("SDL_Storage *") long storage, @NativeType("char const *") @Nullable CharSequence path, @NativeType("char const *") @Nullable CharSequence pattern, @NativeType("SDL_GlobFlags") int flags) char ** SDL_GlobStorageDirectory(SDL_Storage * storage, char const * path, char const * pattern, SDL_GlobFlags flags, int * count) -
SDL_INIT_INTERFACE
void SDL_INIT_INTERFACE(SDL_StorageInterface * iface)
-