From d6964f7bb1c2afc8d67905fa38ac9a3df766b807 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Jun 2015 15:42:14 +0000 Subject: obsolete services extincted git-svn-id: http://svn.miranda-ng.org/main/trunk@14237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/mu_common.cpp | 17 ----------------- plugins/HistoryStats/src/mu_common.h | 10 ---------- plugins/HistoryStats/src/utils.cpp | 2 +- 3 files changed, 1 insertion(+), 28 deletions(-) (limited to 'plugins/HistoryStats') diff --git a/plugins/HistoryStats/src/mu_common.cpp b/plugins/HistoryStats/src/mu_common.cpp index 821f1e2c58..39be7c8bd0 100644 --- a/plugins/HistoryStats/src/mu_common.cpp +++ b/plugins/HistoryStats/src/mu_common.cpp @@ -257,23 +257,6 @@ namespace mu } } - /* - * utils - */ - - namespace utils - { - int pathToRelative(const TCHAR* pszPath, TCHAR* pszNewPath) - { - return CallService(MS_UTILS_PATHTORELATIVET, reinterpret_cast(pszPath), reinterpret_cast(pszNewPath)); - } - - int pathToAbsolute(const TCHAR* pszPath, TCHAR* pszNewPath) - { - return CallService(MS_UTILS_PATHTOABSOLUTET, reinterpret_cast(pszPath), reinterpret_cast(pszNewPath)); - } - } - /* * core interface functions */ diff --git a/plugins/HistoryStats/src/mu_common.h b/plugins/HistoryStats/src/mu_common.h index 349c68c218..c249659a1a 100644 --- a/plugins/HistoryStats/src/mu_common.h +++ b/plugins/HistoryStats/src/mu_common.h @@ -122,16 +122,6 @@ namespace mu void registerFL(int fileID, const PLUGININFOEX* pluginInfo); } - /* - * utils - */ - - namespace utils - { - int pathToRelative(const TCHAR* pszPath, TCHAR* pszNewPath); - int pathToAbsolute(const TCHAR* pszPath, TCHAR* pszNewPath); - } - /* * core interface functions */ diff --git a/plugins/HistoryStats/src/utils.cpp b/plugins/HistoryStats/src/utils.cpp index c00fb7a43c..6139ee0b35 100644 --- a/plugins/HistoryStats/src/utils.cpp +++ b/plugins/HistoryStats/src/utils.cpp @@ -895,7 +895,7 @@ namespace utils if (strMirandaPath.empty()) { TCHAR szPath[MAX_PATH] = { 0 }; - mu::utils::pathToAbsolute(_T("x"), szPath); + PathToAbsoluteT(_T("x"), szPath); strMirandaPath = extractPath(szPath); } -- cgit v1.2.3