summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/m_gui.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 04f1d51f1f..4227c46ad3 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -111,11 +111,11 @@ public:
__forceinline const char* GetDBSettingName() const { return m_szSetting; }
protected:
- __forceinline CMOptionBase(PROTO_INTERFACE *proto, const const char *szSetting) :
+ __forceinline CMOptionBase(PROTO_INTERFACE *proto, const char *szSetting) :
m_szModuleName(proto->m_szModuleName), m_szSetting(szSetting)
{}
- __forceinline CMOptionBase(const char *module, const const char *szSetting) :
+ __forceinline CMOptionBase(const char *module, const char *szSetting) :
m_szModuleName(module), m_szSetting(szSetting)
{}
@@ -129,11 +129,11 @@ class CMOption : public CMOptionBase
public:
typedef T Type;
- __forceinline CMOption(PROTO_INTERFACE *proto, const const char *szSetting, Type defValue) :
+ __forceinline CMOption(PROTO_INTERFACE *proto, const char *szSetting, Type defValue) :
CMOptionBase(proto, szSetting), m_default(defValue)
{}
- __forceinline CMOption(const const char *szModule, const const char *szSetting, Type defValue) :
+ __forceinline CMOption(const char *szModule, const char *szSetting, Type defValue) :
CMOptionBase(szModule, szSetting), m_default(defValue)
{}
@@ -166,11 +166,11 @@ public:
typedef char Type;
- __forceinline CMOption(PROTO_INTERFACE *proto, const const char *szSetting, const Type *defValue = nullptr) :
+ __forceinline CMOption(PROTO_INTERFACE *proto, const char *szSetting, const Type *defValue = nullptr) :
CMOptionBase(proto, szSetting), m_default(defValue)
{}
- __forceinline CMOption(const const char *szModule, const const char *szSetting, const Type *defValue = nullptr) :
+ __forceinline CMOption(const char *szModule, const char *szSetting, const Type *defValue = nullptr) :
CMOptionBase(szModule, szSetting), m_default(defValue)
{}
@@ -204,11 +204,11 @@ public:
typedef wchar_t Type;
- __forceinline CMOption(PROTO_INTERFACE *proto, const const char *szSetting, const Type *defValue = nullptr) :
+ __forceinline CMOption(PROTO_INTERFACE *proto, const char *szSetting, const Type *defValue = nullptr) :
CMOptionBase(proto, szSetting), m_default(defValue)
{}
- __forceinline CMOption(const const char *szModule, const const char *szSetting, const Type *defValue = nullptr) :
+ __forceinline CMOption(const char *szModule, const char *szSetting, const Type *defValue = nullptr) :
CMOptionBase(szModule, szSetting), m_default(defValue)
{}
@@ -323,8 +323,8 @@ class MIR_CORE_EXPORT CDbLink : public CDataLink
DBVARIANT dbv;
public:
- CDbLink(const const char *szModule, const const char *szSetting, BYTE type, DWORD iValue);
- CDbLink(const const char *szModule, const const char *szSetting, BYTE type, wchar_t *szValue);
+ CDbLink(const char *szModule, const char *szSetting, BYTE type, DWORD iValue);
+ CDbLink(const char *szModule, const char *szSetting, BYTE type, wchar_t *szValue);
~CDbLink();
DWORD LoadInt() override;
@@ -450,8 +450,8 @@ protected:
void AddTimer(CTimer *timer);
// options support
- void CreateLink(CCtrlData& ctrl, const const char *szSetting, BYTE type, DWORD iValue);
- void CreateLink(CCtrlData& ctrl, const const char *szSetting, wchar_t *szValue);
+ void CreateLink(CCtrlData& ctrl, const char *szSetting, BYTE type, DWORD iValue);
+ void CreateLink(CCtrlData& ctrl, const char *szSetting, wchar_t *szValue);
template<class T>
__inline void CreateLink(CCtrlData& ctrl, CMOption<T> &option)
@@ -1468,7 +1468,7 @@ public:
CProtoIntDlgBase(PROTO_INTERFACE *proto, int idDialog);
void CreateLink(CCtrlData& ctrl, const char *szSetting, BYTE type, DWORD iValue);
- void CreateLink(CCtrlData& ctrl, const const char *szSetting, wchar_t *szValue);
+ void CreateLink(CCtrlData& ctrl, const char *szSetting, wchar_t *szValue);
template<class T>
__inline void CreateLink(CCtrlData& ctrl, CMOption<T> &option)