diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-12 18:00:55 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-12 18:00:55 +0300 |
commit | 744dda0a74a4afa69bb2e27088f1c0f01a8891d9 (patch) | |
tree | 0d260fc4dd522f8869adcd96a4039c5f65f4d132 /src | |
parent | f7bbaf7fd984d26dbc150d9743aa14cd5dd23a8c (diff) |
SRMM options unification
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgoptions.cpp | 8 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgs.h | 5 | ||||
-rw-r--r-- | src/core/stdmsg/src/srmm.cpp | 1 | ||||
-rw-r--r-- | src/core/stdmsg/src/stdafx.h | 1 | ||||
-rw-r--r-- | src/mir_app/src/mir_app.def | 175 | ||||
-rw-r--r-- | src/mir_app/src/mir_app64.def | 3 | ||||
-rw-r--r-- | src/mir_app/src/miranda.h | 4 | ||||
-rw-r--r-- | src/mir_app/src/srmm_main.cpp | 2 |
9 files changed, 97 insertions, 104 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index ef9cf07067..4b481a6eba 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -1242,7 +1242,7 @@ bool CMsgDialog::GetFirstEvent() DB::ECPTR pCursor(DB::EventsRev(m_hContact, m_hDbEventFirst));
- switch (g_plugin.iLoadHistory) {
+ switch (Srmm::iHistoryMode) {
case LOADHISTORY_COUNT:
for (int i = g_plugin.nLoadCount; i--;) {
MEVENT hPrevEvent = pCursor.FetchNext();
diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index 2eae075286..6020167100 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -335,7 +335,7 @@ public: bool OnInitDialog() override
{
- switch (g_plugin.iLoadHistory) {
+ switch (Srmm::iHistoryMode) {
case LOADHISTORY_UNREAD:
chkLoadUnread.SetState(true);
break;
@@ -360,11 +360,11 @@ public: bool OnApply() override
{
if (chkLoadCount.GetState())
- g_plugin.iLoadHistory = LOADHISTORY_COUNT;
+ Srmm::iHistoryMode = LOADHISTORY_COUNT;
else if (chkLoadTime.GetState())
- g_plugin.iLoadHistory = LOADHISTORY_TIME;
+ Srmm::iHistoryMode = LOADHISTORY_TIME;
else
- g_plugin.iLoadHistory = LOADHISTORY_UNREAD;
+ Srmm::iHistoryMode = LOADHISTORY_UNREAD;
g_plugin.nLoadCount = spinCount.GetPosition();
g_plugin.nLoadTime = spinTime.GetPosition();
diff --git a/src/core/stdmsg/src/msgs.h b/src/core/stdmsg/src/msgs.h index 582d8fa4d0..56ec7164ba 100644 --- a/src/core/stdmsg/src/msgs.h +++ b/src/core/stdmsg/src/msgs.h @@ -175,11 +175,6 @@ int OptInitialise(WPARAM, LPARAM); bool LoadMsgDlgFont(int i, LOGFONT* lf, COLORREF* colour);
-#define LOADHISTORY_UNREAD 0
-#define LOADHISTORY_COUNT 1
-#define LOADHISTORY_TIME 2
-
-#define SRMSGMOD "SRMsg"
#define DBSAVEDMSG "SavedMsg"
#define SRMSGSET_TYPING "SupportTyping"
diff --git a/src/core/stdmsg/src/srmm.cpp b/src/core/stdmsg/src/srmm.cpp index 63d7e2481f..af9f94f750 100644 --- a/src/core/stdmsg/src/srmm.cpp +++ b/src/core/stdmsg/src/srmm.cpp @@ -80,7 +80,6 @@ CMPlugin::CMPlugin() : msgTimeout(SRMM_MODULE, "MessageTimeout", 65000),
- iLoadHistory(SRMM_MODULE, "LoadHistory", LOADHISTORY_UNREAD),
nLoadCount(SRMM_MODULE, "LoadCount", 10),
nLoadTime(SRMM_MODULE, "LoadTime", 10),
diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index 27a9c076e3..9dc20f0b12 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -178,7 +178,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> CMOption<uint32_t> msgTimeout;
CMOption<uint32_t> nFlashMax;
- CMOption<uint8_t> iLoadHistory;
CMOption<uint16_t> nLoadCount, nLoadTime;
bool bSmileyInstalled = false;
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def index 8fe34eac7d..cb3f7515ec 100644 --- a/src/mir_app/src/mir_app.def +++ b/src/mir_app/src/mir_app.def @@ -289,7 +289,7 @@ Netlib_NtlmCreateResponse @383 ?get_nick@AUTH_BLOB@DB@@QBEPBDXZ @394 NONAME
?get_reason@AUTH_BLOB@DB@@QBEPBDXZ @395 NONAME
?get_uin@AUTH_BLOB@DB@@QBEIXZ @396 NONAME
-?makeBlob@AUTH_BLOB@DB@@AAEPADXZ @1046 NONAME
+?makeBlob@AUTH_BLOB@DB@@AAEPADXZ @397 NONAME
?size@AUTH_BLOB@DB@@QBEIXZ @398 NONAME
ProtoGetAvatarFormatByMimeType @400
ProtoGetAvatarMimeType @401
@@ -908,89 +908,90 @@ Clist_GroupSaveExpanded @1003 NONAME ?GetReceivedFolder@File@@YGPA_WIPA_WI_N@Z @1039 NONAME
?DlgProc@CUserInfoPageDlg@@UAEHIIJ@Z @1040 NONAME
?wipeNotify@EventInfo@DB@@QAEXXZ @1041 NONAME
-_CallContactService@16 @1048 NONAME
-??0MDatabaseExport@@QAE@XZ @1049 NONAME
-??1MDatabaseExport@@UAE@XZ @1050 NONAME
-??_7MDatabaseExport@@6B@ @1051 NONAME
-??0?$LIST@UMHttpHeader@@@@QAE@ABU0@@Z @1052 NONAME
-??0?$LIST@UMHttpHeader@@@@QAE@HH@Z @1053 NONAME
-??0?$LIST@UMHttpHeader@@@@QAE@HP6AHPBUMHttpHeader@@0@Z@Z @1054 NONAME
-??0?$OBJLIST@UMHttpHeader@@@@QAE@ABU0@@Z @1055 NONAME
-??0?$OBJLIST@UMHttpHeader@@@@QAE@HH@Z @1056 NONAME
-??0?$OBJLIST@UMHttpHeader@@@@QAE@HP6AHPBUMHttpHeader@@0@Z@Z @1057 NONAME
-??0MHttpHeaders@@QAE@ABU0@@Z @1058 NONAME
-??0MHttpHeaders@@QAE@XZ @1059 NONAME
-??0MHttpResponse@@QAE@XZ @1060 NONAME
-??1?$LIST@UMHttpHeader@@@@QAE@XZ @1061 NONAME
-??1?$OBJLIST@UMHttpHeader@@@@QAE@XZ @1062 NONAME
-??1MHttpHeaders@@QAE@XZ @1063 NONAME
-??1MHttpResponse@@QAE@XZ @1064 NONAME
-??4?$LIST@UMHttpHeader@@@@QAEAAU0@ABU0@@Z @1065 NONAME
-??4?$OBJLIST@UMHttpHeader@@@@QAEAAU0@ABU0@@Z @1066 NONAME
-??4MHttpHeaders@@QAEAAU0@ABU0@@Z @1067 NONAME
-??A?$LIST@UMHttpHeader@@@@QBEPAUMHttpHeader@@H@Z @1068 NONAME
-??A?$OBJLIST@UMHttpHeader@@@@QBEAAUMHttpHeader@@H@Z @1069 NONAME
-??AMHttpHeaders@@QAEPBDPBD@Z @1070 NONAME
-?AddHeader@MHttpHeaders@@QAEXPBD0@Z @1071 NONAME
-?FindHeader@MHttpHeaders@@QBEPADPBD@Z @1072 NONAME
-?GetCookies@MHttpHeaders@@QBE?AV?$CMStringT@DV?$ChTraitsCRT@D@@@@XZ @1073 NONAME
-?begin@?$LIST@UMHttpHeader@@@@QBEPAPAUMHttpHeader@@XZ @1074 NONAME
-?destroy@?$LIST@UMHttpHeader@@@@QAEXXZ @1075 NONAME
-?destroy@?$OBJLIST@UMHttpHeader@@@@QAEXXZ @1076 NONAME
-?end@?$LIST@UMHttpHeader@@@@QBEPAPAUMHttpHeader@@XZ @1077 NONAME
-?find@?$LIST@UMHttpHeader@@@@QBEPAUMHttpHeader@@PAU2@@Z @1078 NONAME
-?getArray@?$LIST@UMHttpHeader@@@@QBEPAPAUMHttpHeader@@XZ @1079 NONAME
-?getCount@?$LIST@UMHttpHeader@@@@QBEHXZ @1080 NONAME
-?getIndex@?$LIST@UMHttpHeader@@@@QBEHPAUMHttpHeader@@@Z @1081 NONAME
-?indexOf@?$LIST@UMHttpHeader@@@@QBEHPAPAUMHttpHeader@@@Z @1082 NONAME
-?indexOf@?$LIST@UMHttpHeader@@@@QBEHPAUMHttpHeader@@@Z @1083 NONAME
-?insert@?$LIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@@Z @1084 NONAME
-?insert@?$LIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@H@Z @1085 NONAME
-?put@?$LIST@UMHttpHeader@@@@QAEXHPAUMHttpHeader@@@Z @1086 NONAME
-?remove@?$LIST@UMHttpHeader@@@@QAEHH@Z @1087 NONAME
-?remove@?$LIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@@Z @1088 NONAME
-?remove@?$OBJLIST@UMHttpHeader@@@@QAEHH@Z @1089 NONAME
-?remove@?$OBJLIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@@Z @1090 NONAME
-?removeItem@?$LIST@UMHttpHeader@@@@QAEPAUMHttpHeader@@PAPAU2@@Z @1091 NONAME
-?removeItem@?$OBJLIST@UMHttpHeader@@@@QAEXPAPAUMHttpHeader@@@Z @1092 NONAME
-?rev_iter@?$LIST@UMHttpHeader@@@@QBE?AVreverse_iterator@1@XZ @1093 NONAME
-Netlib_HttpBuffer @1094
-Netlib_HttpCookies @1095
-Netlib_HttpResult @1096
-?SetData@MHttpRequest@@QAEXPBXI@Z @1097 NONAME
-?DeleteHeader@MHttpHeaders@@QAEXPBD@Z @1098 NONAME
-_Netlib_DownloadFile@20 @1099 NONAME
-??0FILE_BLOB@DB@@QAE@PAXPBD1_N@Z @1100 NONAME
-?getUserInfo@FILE_BLOB@DB@@QBEPAXXZ @1101 NONAME
-?setUserInfo@FILE_BLOB@DB@@QAEXPAX@Z @1102 NONAME
-?Chat_Find@@YGPAUSESSION_INFO@@IPBD@Z @1103 NONAME
-??4EventInfo@DB@@QAEAAV01@I@Z @1104 NONAME
-?MarkEventRead@CSrmmBaseDialog@@QAEXABVEventInfo@DB@@@Z @1105 NONAME
-?getEvent@EventInfo@DB@@QBEIXZ @1106 NONAME
-?GetPreviewPath@PROTO_INTERFACE@@QBE?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1107 NONAME
-g_hevEventDelivered @1108 NONAME
-g_hevEventSetJson @1109 NONAME
-?getJson@EventInfo@DB@@QBEAAVJSONNode@@XZ @1110 NONAME
-?setJson@EventInfo@DB@@QAEAAVJSONNode@@XZ @1111 NONAME
-?flushJson@EventInfo@DB@@QAEXXZ @1112 NONAME
-?addReaction@EventInfo@DB@@QAEXPBD@Z @1113 NONAME
-?delReaction@EventInfo@DB@@QAEXPBD@Z @1114 NONAME
-?getText@EventInfo@DB@@QBEPA_WXZ @1115 NONAME
-??0MWebSocket@@QAE@XZ @1116 NONAME
-??1MWebSocket@@QAE@XZ @1117 NONAME
-??_7MWebSocket@@6B@ @1118 NONAME
-?terminate@MWebSocket@@QAEXXZ @1119 NONAME
-??0MJsonWebSocket@@QAE@XZ @1120 NONAME
-??1MJsonWebSocket@@QAE@XZ @1121 NONAME
-??_7MJsonWebSocket@@6B@ @1122 NONAME
-?process@MJsonWebSocket@@EAEXPBEI@Z @1123 NONAME
-_Proto_CanDeleteHistory@8 @1124 NONAME
-?OnCacheInit@PROTO_INTERFACE@@UAEXXZ @1125 NONAME
-?DoRtfToTags@CSrmmBaseDialog@@IBE_NAAV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@@Z @1126 NONAME
-?bUseGroup@Chat@@3V?$CMOption@_N@@A @1127 NONAME
-?isCustom@EventInfo@DB@@QBE_NH@Z @1128 NONAME
-?InsertBbcodeString@CSrmmBaseDialog@@IAEXPB_W@Z @1129 NONAME
-?markRead@SESSION_INFO@@QAEX_N@Z @1130 NONAME
-?Srmm_NotifyRemoteRead@@YGXII@Z @1131 NONAME
-?RemakeLog@CSrmmBaseDialog@@UAEXXZ @1132 NONAME
-?ProcessToolbarHotkey@CSrmmBaseDialog@@AAEXH@Z @1133 NONAME
+_CallContactService@16 @1042 NONAME
+??0MDatabaseExport@@QAE@XZ @1043 NONAME
+??1MDatabaseExport@@UAE@XZ @1044 NONAME
+??_7MDatabaseExport@@6B@ @1045 NONAME
+??0?$LIST@UMHttpHeader@@@@QAE@ABU0@@Z @1046 NONAME
+??0?$LIST@UMHttpHeader@@@@QAE@HH@Z @1047 NONAME
+??0?$LIST@UMHttpHeader@@@@QAE@HP6AHPBUMHttpHeader@@0@Z@Z @1048 NONAME
+??0?$OBJLIST@UMHttpHeader@@@@QAE@ABU0@@Z @1049 NONAME
+??0?$OBJLIST@UMHttpHeader@@@@QAE@HH@Z @1050 NONAME
+??0?$OBJLIST@UMHttpHeader@@@@QAE@HP6AHPBUMHttpHeader@@0@Z@Z @1051 NONAME
+??0MHttpHeaders@@QAE@ABU0@@Z @1052 NONAME
+??0MHttpHeaders@@QAE@XZ @1053 NONAME
+??0MHttpResponse@@QAE@XZ @1054 NONAME
+??1?$LIST@UMHttpHeader@@@@QAE@XZ @1055 NONAME
+??1?$OBJLIST@UMHttpHeader@@@@QAE@XZ @1056 NONAME
+??1MHttpHeaders@@QAE@XZ @1057 NONAME
+??1MHttpResponse@@QAE@XZ @1058 NONAME
+??4?$LIST@UMHttpHeader@@@@QAEAAU0@ABU0@@Z @1059 NONAME
+??4?$OBJLIST@UMHttpHeader@@@@QAEAAU0@ABU0@@Z @1060 NONAME
+??4MHttpHeaders@@QAEAAU0@ABU0@@Z @1061 NONAME
+??A?$LIST@UMHttpHeader@@@@QBEPAUMHttpHeader@@H@Z @1062 NONAME
+??A?$OBJLIST@UMHttpHeader@@@@QBEAAUMHttpHeader@@H@Z @1063 NONAME
+??AMHttpHeaders@@QAEPBDPBD@Z @1064 NONAME
+?AddHeader@MHttpHeaders@@QAEXPBD0@Z @1065 NONAME
+?FindHeader@MHttpHeaders@@QBEPADPBD@Z @1066 NONAME
+?GetCookies@MHttpHeaders@@QBE?AV?$CMStringT@DV?$ChTraitsCRT@D@@@@XZ @1067 NONAME
+?begin@?$LIST@UMHttpHeader@@@@QBEPAPAUMHttpHeader@@XZ @1068 NONAME
+?destroy@?$LIST@UMHttpHeader@@@@QAEXXZ @1069 NONAME
+?destroy@?$OBJLIST@UMHttpHeader@@@@QAEXXZ @1070 NONAME
+?end@?$LIST@UMHttpHeader@@@@QBEPAPAUMHttpHeader@@XZ @1071 NONAME
+?find@?$LIST@UMHttpHeader@@@@QBEPAUMHttpHeader@@PAU2@@Z @1072 NONAME
+?getArray@?$LIST@UMHttpHeader@@@@QBEPAPAUMHttpHeader@@XZ @1073 NONAME
+?getCount@?$LIST@UMHttpHeader@@@@QBEHXZ @1074 NONAME
+?getIndex@?$LIST@UMHttpHeader@@@@QBEHPAUMHttpHeader@@@Z @1075 NONAME
+?indexOf@?$LIST@UMHttpHeader@@@@QBEHPAPAUMHttpHeader@@@Z @1076 NONAME
+?indexOf@?$LIST@UMHttpHeader@@@@QBEHPAUMHttpHeader@@@Z @1077 NONAME
+?insert@?$LIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@@Z @1078 NONAME
+?insert@?$LIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@H@Z @1079 NONAME
+?put@?$LIST@UMHttpHeader@@@@QAEXHPAUMHttpHeader@@@Z @1080 NONAME
+?remove@?$LIST@UMHttpHeader@@@@QAEHH@Z @1081 NONAME
+?remove@?$LIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@@Z @1082 NONAME
+?remove@?$OBJLIST@UMHttpHeader@@@@QAEHH@Z @1083 NONAME
+?remove@?$OBJLIST@UMHttpHeader@@@@QAEHPAUMHttpHeader@@@Z @1084 NONAME
+?removeItem@?$LIST@UMHttpHeader@@@@QAEPAUMHttpHeader@@PAPAU2@@Z @1085 NONAME
+?removeItem@?$OBJLIST@UMHttpHeader@@@@QAEXPAPAUMHttpHeader@@@Z @1086 NONAME
+?rev_iter@?$LIST@UMHttpHeader@@@@QBE?AVreverse_iterator@1@XZ @1087 NONAME
+Netlib_HttpBuffer @1088
+Netlib_HttpCookies @1089
+Netlib_HttpResult @1090
+?SetData@MHttpRequest@@QAEXPBXI@Z @1091 NONAME
+?DeleteHeader@MHttpHeaders@@QAEXPBD@Z @1092 NONAME
+_Netlib_DownloadFile@20 @1093 NONAME
+??0FILE_BLOB@DB@@QAE@PAXPBD1_N@Z @1094 NONAME
+?getUserInfo@FILE_BLOB@DB@@QBEPAXXZ @1095 NONAME
+?setUserInfo@FILE_BLOB@DB@@QAEXPAX@Z @1096 NONAME
+?Chat_Find@@YGPAUSESSION_INFO@@IPBD@Z @1097 NONAME
+??4EventInfo@DB@@QAEAAV01@I@Z @1098 NONAME
+?MarkEventRead@CSrmmBaseDialog@@QAEXABVEventInfo@DB@@@Z @1099 NONAME
+?getEvent@EventInfo@DB@@QBEIXZ @1100 NONAME
+?GetPreviewPath@PROTO_INTERFACE@@QBE?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1101 NONAME
+g_hevEventDelivered @1102 NONAME
+g_hevEventSetJson @1103 NONAME
+?getJson@EventInfo@DB@@QBEAAVJSONNode@@XZ @1104 NONAME
+?setJson@EventInfo@DB@@QAEAAVJSONNode@@XZ @1105 NONAME
+?flushJson@EventInfo@DB@@QAEXXZ @1106 NONAME
+?addReaction@EventInfo@DB@@QAEXPBD@Z @1107 NONAME
+?delReaction@EventInfo@DB@@QAEXPBD@Z @1108 NONAME
+?getText@EventInfo@DB@@QBEPA_WXZ @1109 NONAME
+??0MWebSocket@@QAE@XZ @1110 NONAME
+??1MWebSocket@@QAE@XZ @1111 NONAME
+??_7MWebSocket@@6B@ @1112 NONAME
+?terminate@MWebSocket@@QAEXXZ @1113 NONAME
+??0MJsonWebSocket@@QAE@XZ @1114 NONAME
+??1MJsonWebSocket@@QAE@XZ @1115 NONAME
+??_7MJsonWebSocket@@6B@ @1116 NONAME
+?process@MJsonWebSocket@@EAEXPBEI@Z @1117 NONAME
+_Proto_CanDeleteHistory@8 @1118 NONAME
+?OnCacheInit@PROTO_INTERFACE@@UAEXXZ @1119 NONAME
+?DoRtfToTags@CSrmmBaseDialog@@IBE_NAAV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@@Z @1120 NONAME
+?bUseGroup@Chat@@3V?$CMOption@_N@@A @1121 NONAME
+?isCustom@EventInfo@DB@@QBE_NH@Z @1122 NONAME
+?InsertBbcodeString@CSrmmBaseDialog@@IAEXPB_W@Z @1123 NONAME
+?markRead@SESSION_INFO@@QAEX_N@Z @1124 NONAME
+?Srmm_NotifyRemoteRead@@YGXII@Z @1125 NONAME
+?RemakeLog@CSrmmBaseDialog@@UAEXXZ @1126 NONAME
+?ProcessToolbarHotkey@CSrmmBaseDialog@@AAEXH@Z @1127 NONAME
+?iHistoryMode@Srmm@@3V?$CMOption@E@@A @1128 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def index 0d48f71055..e20374e539 100644 --- a/src/mir_app/src/mir_app64.def +++ b/src/mir_app/src/mir_app64.def @@ -993,4 +993,5 @@ Proto_CanDeleteHistory @1118 NONAME ?markRead@SESSION_INFO@@QEAAX_N@Z @1124 NONAME
?Srmm_NotifyRemoteRead@@YAXII@Z @1125 NONAME
?RemakeLog@CSrmmBaseDialog@@UEAAXXZ @1126 NONAME
-?ProcessToolbarHotkey@CSrmmBaseDialog@@AEAAX_J@Z @1129 NONAME
+?ProcessToolbarHotkey@CSrmmBaseDialog@@AEAAX_J@Z @1127 NONAME
+?iHistoryMode@Srmm@@3V?$CMOption@E@@A @1128 NONAME
diff --git a/src/mir_app/src/miranda.h b/src/mir_app/src/miranda.h index fab65b9524..98cb552ef7 100644 --- a/src/mir_app/src/miranda.h +++ b/src/mir_app/src/miranda.h @@ -85,10 +85,6 @@ void KillModuleToolbarIcons(CMPluginBase *pPlugin); int PopupOptionsInit(WPARAM);
-/**** srmm.cpp *************************************************************************/
-
-#define SRMSGMOD "SRMsg"
-
/**** utf.cpp **************************************************************************/
__forceinline char* Utf8DecodeA(const char* src)
diff --git a/src/mir_app/src/srmm_main.cpp b/src/mir_app/src/srmm_main.cpp index f990f86be3..5695831180 100644 --- a/src/mir_app/src/srmm_main.cpp +++ b/src/mir_app/src/srmm_main.cpp @@ -22,6 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <m_NewStory.h> #include <m_messagestate.h> +MIR_APP_EXPORT CMOption<uint8_t> Srmm::iHistoryMode(SRMM_MODULE, "LoadHistory", LOADHISTORY_COUNT); + HCURSOR g_hCurHyperlinkHand; HANDLE hHookIconsChanged, hHookIconPressedEvt, hHookSrmmEvent; |