geode/loader/src/platform/android/FileWatcher.cpp
ConfiG be7ee3ef18
Refactor some stuff in Loader (#420)
* move console stuff from loader

* compile platform sources only per platform

* move ipc from loader

* move updater from loader

* remove Loader::didLastLaunchCrash

* remove platformdata from loader

* move updaters events and filters too
2024-01-14 14:23:34 +03:00

23 lines
463 B
C++

#include <FileWatcher.hpp>
FileWatcher::FileWatcher(
ghc::filesystem::path const& file, FileWatchCallback callback, ErrorCallback error
) {
m_filemode = ghc::filesystem::is_regular_file(file);
m_platformHandle = nullptr;
m_file = file;
m_callback = callback;
m_error = error;
}
FileWatcher::~FileWatcher() {
}
void FileWatcher::watch() {
// TODO: setup inotify or something
}
bool FileWatcher::watching() const {
return false;
}