summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-09 23:06:36 +0300
committeraunsane <aunsane@gmail.com>2018-03-09 23:06:36 +0300
commitb669220f71d1501e54bf01344d1231a274f6c028 (patch)
tree9d9f7d8756471529ce9a2b5fd0e3ec3fcf516de8 /include
parent6daa56ccf60424f330b15d77af184d7d8c098f26 (diff)
Remove CMStringA from PLUGIN
Diffstat (limited to 'include')
-rw-r--r--include/m_plugin.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/m_plugin.h b/include/m_plugin.h
index 5b85b6450c..e127cb28f4 100644
--- a/include/m_plugin.h
+++ b/include/m_plugin.h
@@ -2,8 +2,6 @@
#include <m_core.h>
#include <m_database.h>
-#include <m_netlib.h>
-
/////////////////////////////////////////////////////////////////////////////////////////
// Basic class for plugins (not protocols) written in C++
@@ -11,11 +9,11 @@
template<class T> class PLUGIN
{
protected:
- CMStringA m_moduleName;
+ const char *m_moduleName;
HANDLE m_hLogger = nullptr;
- PLUGIN(const char *moduleName) :
- m_moduleName(moduleName)
+ PLUGIN(const char *moduleName)
+ : m_moduleName(moduleName)
{
wchar_t path[MAX_PATH];
mir_snwprintf(path, "%s\%s.txt", VARSW("%miranda_logpath%"), moduleName);