#pragma once #include #include "svn_time.h" using namespace std; class CAppUtils { public: CAppUtils(void); ~CAppUtils(void); static wstring GetAppDataDir(); static wstring ConvertDate(apr_time_t time); static void SearchReplace(wstring& str, const wstring& toreplace, const wstring& replacewith); static bool LaunchApplication(const wstring& sCommandLine, bool bWaitForStartup = false); static wstring GetTempFilePath(); };