- //ETagDB(wxString AccountDir);
- ETagDB() {};
- ~ETagDB();
-
- // ETag functions.
-
- void AddETag(wxString Filename, wxString ETag, wxString ETagOriginal);
- void RemoveETag(wxString Filename);
- void UpdateETag(wxString Filename, wxString ETag);
- void UpdateETag(wxString Filename, wxString ETag, wxString ETagOriginal);
- std::map<wxString, wxString>* GetFilenamePointer();
- wxString GetETag(wxString Filename);
- wxString GetETagOriginal(wxString Filename);
- bool CheckETagExists(wxString Filename);
- //boost::mutex ProcessLock;
-
- // ETagDB functions.
-
- bool WriteETagDB();
- bool LoadETagDB();
- void DeleteETagDB();
- void SetupDB(wxString AccountDirFilename);
-
- bool GetWriteStatus();
- std::map<wxString, ETagData> GetETagData();
- //void *ProcessLock = new std::mutex;
-
+ //ETagDB(wxString AccountDir);
+ ETagDB() {};
+ ~ETagDB();
+
+ // ETag functions.
+
+ void AddETag(wxString Filename, wxString ETag, wxString ETagOriginal);
+ void RemoveETag(wxString Filename);
+ void UpdateETag(wxString Filename, wxString ETag);
+ void UpdateETag(wxString Filename, wxString ETag, wxString ETagOriginal);
+ std::map<wxString, wxString>* GetFilenamePointer();
+ wxString GetETag(wxString Filename);
+ wxString GetETagOriginal(wxString Filename);
+ bool CheckETagExists(wxString Filename);
+ bool ETagExists(wxString Filename);
+ //boost::mutex ProcessLock;
+
+ // ETagDB functions.
+
+ bool WriteETagDB();
+ bool LoadETagDB();
+ void DeleteETagDB();
+ void SetupDB(wxString AccountDirFilename);
+
+ bool GetWriteStatus();
+ std::map<wxString, ETagData> GetETagData();
+ //void *ProcessLock = new std::mutex;
+