Package org.lwjgl.sdl
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
SDL_Storage * SDL_OpenTitleStorage(char const * override, SDL_PropertiesID props) -
SDL_OpenTitleStorage
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
SDL_Storage * SDL_OpenUserStorage(char const * org, char const * app, SDL_PropertiesID props) -
SDL_OpenUserStorage
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
SDL_Storage * SDL_OpenFileStorage(char const * path) -
SDL_OpenFileStorage
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
SDL_Storage * SDL_OpenStorage(SDL_StorageInterface const * iface, void * userdata) -
SDL_CloseStorage
public static boolean SDL_CloseStorage(long storage) bool SDL_CloseStorage(SDL_Storage * storage) -
SDL_StorageReady
public static boolean SDL_StorageReady(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
public static boolean SDL_GetStorageFileSize(long storage, ByteBuffer path, @Nullable LongBuffer length) bool SDL_GetStorageFileSize(SDL_Storage * storage, char const * path, Uint64 * length) -
SDL_GetStorageFileSize
public static boolean SDL_GetStorageFileSize(long storage, CharSequence path, @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
bool SDL_ReadStorageFile(SDL_Storage * storage, char const * path, void * destination, Uint64 length) -
SDL_ReadStorageFile
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
bool SDL_WriteStorageFile(SDL_Storage * storage, char const * path, void const * source, Uint64 length) -
SDL_WriteStorageFile
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
bool SDL_CreateStorageDirectory(SDL_Storage * storage, char const * path) -
SDL_CreateStorageDirectory
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
public static boolean SDL_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) -
SDL_EnumerateStorageDirectory
public static boolean SDL_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) -
nSDL_RemoveStoragePath
public static boolean nSDL_RemoveStoragePath(long storage, long path) bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path) -
SDL_RemoveStoragePath
bool SDL_RemoveStoragePath(SDL_Storage * storage, char const * path) -
SDL_RemoveStoragePath
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
bool SDL_RenameStoragePath(SDL_Storage * storage, char const * oldpath, char const * newpath) -
SDL_RenameStoragePath
public static boolean SDL_RenameStoragePath(long storage, CharSequence oldpath, 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
bool SDL_CopyStorageFile(SDL_Storage * storage, char const * oldpath, char const * newpath) -
SDL_CopyStorageFile
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
public static boolean SDL_GetStoragePathInfo(long storage, ByteBuffer path, @Nullable SDL_PathInfo info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info) -
SDL_GetStoragePathInfo
public static boolean SDL_GetStoragePathInfo(long storage, CharSequence path, @Nullable SDL_PathInfo info) bool SDL_GetStoragePathInfo(SDL_Storage * storage, char const * path, SDL_PathInfo * info) -
SDL_GetStorageSpaceRemaining
public static long SDL_GetStorageSpaceRemaining(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
public static @Nullable PointerBuffer SDL_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) -
SDL_GlobStorageDirectory
public static @Nullable PointerBuffer SDL_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) -
SDL_INIT_INTERFACE
void SDL_INIT_INTERFACE(SDL_StorageInterface * iface)
-