NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <filewatcher.hpp>
Public Member Functions | |
Filewatcher () | |
bool | SetDefaultPaths (const std::vector< std::string > &vPaths) |
bool | Add (const wxFileName &path, int events=wxFSW_EVENT_ALL) |
bool | Remove (const wxFileName &path) |
Private Member Functions | |
bool | isDefaultPath (const wxFileName &path) |
Private Attributes | |
std::vector< std::string > | vDefaultPaths |
std::map< wxString, wxString > | mWatchedFiles |
Definition at line 29 of file filewatcher.hpp.
|
inline |
Definition at line 37 of file filewatcher.hpp.
bool Filewatcher::Add | ( | const wxFileName & | path, |
int | events = wxFSW_EVENT_ALL |
||
) |
Definition at line 50 of file filewatcher.cpp.
References isDefaultPath(), and mWatchedFiles.
Referenced by NumeReWindow::OpenSourceFile(), and NumeReWindow::SaveCurrentFile().
|
private |
Definition at line 23 of file filewatcher.cpp.
References replacePathSeparator(), and vDefaultPaths.
Referenced by Add(), and Remove().
bool Filewatcher::Remove | ( | const wxFileName & | path | ) |
Definition at line 68 of file filewatcher.cpp.
References isDefaultPath(), and mWatchedFiles.
Referenced by NumeReWindow::CloseFile(), and NumeReWindow::SaveCurrentFile().
bool Filewatcher::SetDefaultPaths | ( | const std::vector< std::string > & | vPaths | ) |
Definition at line 34 of file filewatcher.cpp.
References mWatchedFiles, and vDefaultPaths.
Referenced by NumeReWindow::EvaluateOptions().
|
private |
Definition at line 33 of file filewatcher.hpp.
Referenced by Add(), Remove(), and SetDefaultPaths().
|
private |
Definition at line 32 of file filewatcher.hpp.
Referenced by isDefaultPath(), and SetDefaultPaths().