Polyphase Game Engine
Loading...
Searching...
No Matches
FileWatcher Class Reference

#include <FileWatcher.h>

Public Member Functions

 FileWatcher ()
 
 ~FileWatcher ()
 
bool Initialize ()
 
void Shutdown ()
 
bool WatchDirectory (const std::string &directory, bool recursive=true)
 
void UnwatchDirectory (const std::string &directory)
 
void SetFileChangeCallback (FileChangeCallback callback)
 
void Update ()
 
void SetEnabled (bool enabled)
 
bool IsEnabled () const
 

Constructor & Destructor Documentation

◆ FileWatcher()

FileWatcher::FileWatcher ( )

◆ ~FileWatcher()

FileWatcher::~FileWatcher ( )

Member Function Documentation

◆ Initialize()

bool FileWatcher::Initialize ( )

◆ IsEnabled()

bool FileWatcher::IsEnabled ( ) const
inline

◆ SetEnabled()

void FileWatcher::SetEnabled ( bool  enabled)

◆ SetFileChangeCallback()

void FileWatcher::SetFileChangeCallback ( FileChangeCallback  callback)

◆ Shutdown()

void FileWatcher::Shutdown ( )

◆ UnwatchDirectory()

void FileWatcher::UnwatchDirectory ( const std::string &  directory)

◆ Update()

void FileWatcher::Update ( )

◆ WatchDirectory()

bool FileWatcher::WatchDirectory ( const std::string &  directory,
bool  recursive = true 
)

The documentation for this class was generated from the following files: