diff options
| author | George Hazan <ghazan@miranda.im> | 2023-04-19 17:31:57 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2023-04-19 17:31:57 +0300 |
| commit | 3f2bbb2b1f230f599b196e7014a40685b2507a73 (patch) | |
| tree | ae815702b16b438c2b1d02ca51fdf4db714e9224 /protocols/ICQ-WIM/src | |
| parent | 744977cc61a0e729f5615ecaa506cba4818b0d58 (diff) | |
fixes #3493 (ICQ: перенести опцию про всплывающие окна об ошибках в "События")
Diffstat (limited to 'protocols/ICQ-WIM/src')
| -rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 2 | ||||
| -rw-r--r-- | protocols/ICQ-WIM/src/proto.h | 12 | ||||
| -rw-r--r-- | protocols/ICQ-WIM/src/version.h | 2 |
3 files changed, 10 insertions, 6 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index f96f388313..ce22e20bf1 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -62,6 +62,8 @@ CIcqProto::CIcqProto(const char *aProtoName, const wchar_t *aUserName) : m_isMra = !stricmp(Proto_GetAccount(m_szModuleName)->szProtoName, "MRA");
+ g_plugin.addPopupOption(CMStringW(FORMAT, TranslateT("%s error notifications"), m_tszUserName), m_bErrorPopups);
+
// services
CreateProtoService(PS_GETAVATARCAPS, &CIcqProto::GetAvatarCaps);
CreateProtoService(PS_GETAVATARINFO, &CIcqProto::GetAvatarInfo);
diff --git a/protocols/ICQ-WIM/src/proto.h b/protocols/ICQ-WIM/src/proto.h index 6da694e54b..307e3482cd 100644 --- a/protocols/ICQ-WIM/src/proto.h +++ b/protocols/ICQ-WIM/src/proto.h @@ -465,11 +465,13 @@ public: CIcqProto(const char*, const wchar_t*);
~CIcqProto();
- CMOption<wchar_t*> m_szOwnId; // our own aim id
- CMOption<uint8_t> m_bHideGroupchats; // don't pop up group chat windows on startup
- CMOption<uint8_t> m_bUseTrayIcon; // use tray icon notifications
- CMOption<uint8_t> m_bErrorPopups; // display popups with errors
- CMOption<uint8_t> m_bLaunchMailbox; // launch browser to view email
+ CMOption<wchar_t*> m_szOwnId; // our own aim id
+
+ CMOption<bool> m_bHideGroupchats; // don't pop up group chat windows on startup
+ CMOption<bool> m_bUseTrayIcon; // use tray icon notifications
+ CMOption<bool> m_bErrorPopups; // display popups with errors
+ CMOption<bool> m_bLaunchMailbox; // launch browser to view email
+
CMOption<uint32_t> m_iTimeDiff1; // set this status to m_iStatus1 after this interval of secs
CMOption<uint32_t> m_iStatus1;
CMOption<uint32_t> m_iTimeDiff2; // set this status to m_iStatus2 after this interval of secs
diff --git a/protocols/ICQ-WIM/src/version.h b/protocols/ICQ-WIM/src/version.h index 054ddf673a..0ee16dc2df 100644 --- a/protocols/ICQ-WIM/src/version.h +++ b/protocols/ICQ-WIM/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 96
#define __RELEASE_NUM 3
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#include <stdver.h>
|
