summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/Utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-20 17:37:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-20 17:37:57 +0300
commit068a19fb0f4c2f8efa79977a3e3c8dd239ca8a33 (patch)
treef87548ac30163f0acdba09740d9689db946e8c9c /plugins/IEView/src/Utils.h
parentac4f98481f89b180c40b033d47e113a3cbef9233 (diff)
IEView:
- SRMM button added to insert "Code" instruction into the edit window; - ieviewModuleName renamed as it should be: MODULENAME; - code cleaning & reordering; - version bump.
Diffstat (limited to 'plugins/IEView/src/Utils.h')
-rw-r--r--plugins/IEView/src/Utils.h31
1 files changed, 11 insertions, 20 deletions
diff --git a/plugins/IEView/src/Utils.h b/plugins/IEView/src/Utils.h
index a5d9400244..031e400bf4 100644
--- a/plugins/IEView/src/Utils.h
+++ b/plugins/IEView/src/Utils.h
@@ -18,30 +18,21 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-class Utils;
#ifndef UTILS_INCLUDED
#define UTILS_INCLUDED
-#include "stdafx.h"
-
-class Utils {
-private:
- static unsigned hookNum;
- static unsigned serviceNum;
- static HANDLE* hHooks;
- static HANDLE* hServices;
- static wchar_t base_dir[MAX_PATH];
-public:
- static const wchar_t *getBaseDir();
- static wchar_t* toAbsolute(wchar_t* relative);
- static void appendIcon(CMStringA &str, const char *iconFile);
- static void convertPath(char *path);
- static void convertPath(wchar_t *path);
- static char *escapeString(const char *a);
- static int detectURL(const wchar_t *text);
- static bool DbEventIsForMsgWindow(DBEVENTINFO *dbei);
- static bool DbEventIsForHistory(DBEVENTINFO *dbei);
+namespace Utils
+{
+ const wchar_t *getBaseDir();
+ wchar_t* toAbsolute(wchar_t* relative);
+ void appendIcon(CMStringA &str, const char *iconFile);
+ void convertPath(char *path);
+ void convertPath(wchar_t *path);
+ char *escapeString(const char *a);
+ int detectURL(const wchar_t *text);
+ bool DbEventIsForMsgWindow(DBEVENTINFO *dbei);
+ bool DbEventIsForHistory(DBEVENTINFO *dbei);
};
#endif