LumixEngine/src/studio/file_system_watcher.h
2015-09-25 02:46:36 +02:00

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;
};