From eb8fa2d68a46e05c52d67e98abb60e9bb70cfa6c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 19 Mar 2021 10:06:06 +0900 Subject: Renaming of files in preparation for code style tools. Signed-off-by: Michele Calgaro (cherry picked from commit 283bc34244d24be02e90b767a82826a4ca8da186) --- src/svnqt/cache/LogCache.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/svnqt/cache/LogCache.h (limited to 'src/svnqt/cache/LogCache.h') diff --git a/src/svnqt/cache/LogCache.h b/src/svnqt/cache/LogCache.h new file mode 100644 index 0000000..5e43b40 --- /dev/null +++ b/src/svnqt/cache/LogCache.h @@ -0,0 +1,42 @@ +#ifndef _LOG_CACHE_HPP +#define _LOG_CACHE_HPP + +#include +#include +#include + +#include "svnqt/svnqt_defines.h" +#include "svnqt/shared_pointer.h" + +namespace svn { + namespace cache { + + class LogCacheData; + + class SVNTQT_EXPORT LogCache + { + private: + svn::SharedPointer m_CacheData; + + protected: + LogCache(); + static LogCache* mSelf; + TQString m_BasePath; + static TQString s_CACHE_FOLDER; + void setupCachePath(); + void setupMainDb(); + + public: + ///! should used for testing only! + LogCache(const TQString&aBasePath); + virtual ~LogCache(); + static LogCache* self(); + TQDataBase reposDb(const TQString&aRepository); + TQStringList cachedRepositories()const; + + bool valid()const; + }; + } +} + +#endif -- cgit v1.2.3