2017-11-17 18:48:56 -05:00
|
|
|
package com.virtualapplications.play;
|
|
|
|
|
|
|
|
public class BootablesInterop
|
|
|
|
{
|
|
|
|
static
|
|
|
|
{
|
|
|
|
System.loadLibrary("Play");
|
|
|
|
}
|
|
|
|
|
2024-10-26 02:09:59 +01:00
|
|
|
// changes to SORT_* order should also be reflected in
|
|
|
|
// NavigationDrawerFragment.onActivityCreated adapter string list
|
2019-02-11 13:23:13 -05:00
|
|
|
public static final int SORT_RECENT = 0;
|
2024-10-25 21:21:52 +01:00
|
|
|
public static final int SORT_NONE = 1;
|
|
|
|
public static final int SORT_HOMEBREW = 2;
|
2019-02-11 13:23:13 -05:00
|
|
|
|
2017-11-24 18:31:04 -05:00
|
|
|
public static native void scanBootables(String[] rootDirectories);
|
2019-01-06 00:14:08 +00:00
|
|
|
public static native void fullScanBootables(String[] rootDirectories);
|
2019-01-06 13:44:16 +00:00
|
|
|
public static native Bootable[] getBootables(int sortingMethod);
|
2021-10-20 09:05:22 -04:00
|
|
|
public static native boolean tryRegisterBootable(String bootablePath);
|
2017-11-17 18:48:56 -05:00
|
|
|
public static native void setLastBootedTime(String bootablePath, long lastBootedTime);
|
2021-08-04 13:47:28 -04:00
|
|
|
public static native boolean IsBootableExecutablePath(String bootablePath);
|
|
|
|
public static native boolean DoesBootableExist(String bootablePath);
|
2019-01-06 03:09:05 +00:00
|
|
|
public static native void UnregisterBootable(String bootablePath);
|
2021-11-08 12:26:06 -05:00
|
|
|
public static native void fetchGameTitles();
|
2019-01-06 03:09:05 +00:00
|
|
|
public static native void PurgeInexistingFiles();
|
2017-11-17 18:48:56 -05:00
|
|
|
}
|