mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
wip Some progress towards making the file browser work with DOCUMENT_TREE More directory browsing progress More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it. Remove the defunct fdopendir approach. Buildfixes.
30 lines
593 B
C++
30 lines
593 B
C++
#pragma once
|
|
|
|
#include "ppsspp_config.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "Common/LogManager.h"
|
|
|
|
#if PPSSPP_PLATFORM(ANDROID)
|
|
|
|
#include <jni.h>
|
|
|
|
jclass findClass(const char* name);
|
|
JNIEnv* getEnv();
|
|
|
|
class AndroidLogger : public LogListener {
|
|
public:
|
|
void Log(const LogMessage &message) override;
|
|
};
|
|
|
|
extern std::string g_extFilesDir;
|
|
|
|
// Called from PathBrowser for example.
|
|
|
|
bool Android_IsContentUri(const std::string &filename);
|
|
int Android_OpenContentUriFd(const std::string &filename);
|
|
std::vector<std::string> Android_ListContentUri(const std::string &filename);
|
|
|
|
#endif
|