}
+bool ETagDB::ETagExists(wxString Filename){
+
+ // Lock or wait if it is already locked.
+
+ ProcessLock->lock();
+
+ bool FileResult = FALSE;
+
+ if (FilenameETag.find(Filename) != FilenameETag.end()){
+
+ FileResult = TRUE;
+
+ } else {
+
+ FileResult = FALSE;
+
+ }
+
+ // Unlock.
+
+ ProcessLock->unlock();
+
+}
+
std::map<wxString,wxString>* ETagDB::GetFilenamePointer(){
return &FilenameETag;
wxString GetETag(wxString Filename);
wxString GetETagOriginal(wxString Filename);
bool CheckETagExists(wxString Filename);
+ bool ETagExists(wxString Filename);
//boost::mutex ProcessLock;
// ETagDB functions.