geode/loader/src/platform/android/FileWatcher.cpp
matcool 324795cddb ghc::filesystem -> std::filesystem
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00

23 lines
463 B
C++

#include <FileWatcher.hpp>
FileWatcher::FileWatcher(
std::filesystem::path const& file, FileWatchCallback callback, ErrorCallback error
) {
m_filemode = std::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;
}