LumixEngine/src/editor/file_system_watcher.h
Mikulas Florek 4fc02d48ce cleanup
2017-11-28 19:37:15 +01:00

22 lines
384 B
C++

#pragma once
#include "engine/delegate.h"
namespace Lumix
{
struct IAllocator;
class LUMIX_EDITOR_API FileSystemWatcher
{
public:
virtual ~FileSystemWatcher() {}
static FileSystemWatcher* create(const char* path, IAllocator& allocator);
static void destroy(FileSystemWatcher* watcher);
virtual Delegate<void (const char*)>& getCallback() = 0;
};
} // namespace Lumix