16 lines
342 B
C++
16 lines
342 B
C++
#pragma once
|
|
|
|
#include "core/delegate.h"
|
|
#include "core/path.h"
|
|
|
|
|
|
class FileSystemWatcher
|
|
{
|
|
public:
|
|
virtual ~FileSystemWatcher() {}
|
|
|
|
static FileSystemWatcher* create(const char* path, Lumix::IAllocator& allocator);
|
|
static void destroy(FileSystemWatcher* watcher);
|
|
virtual Lumix::Delegate<void (const char*)>& getCallback() = 0;
|
|
};
|
|
|