summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-15 17:43:08 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-15 17:43:08 +0300
commitf15a6313c570fc6eedb8f955ce94510438f6be52 (patch)
treea8c50eeabf79b8ea50796f5fd1dd004c5a2230ee /src
parenta14259eae6700db380f7eab42ba89c76ac2c1541 (diff)
preview folder extracted to the separate directory in profile
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
-rw-r--r--src/mir_app/src/proto_interface.cpp5
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 55df94ce86..f2511af7d7 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -968,3 +968,4 @@ _Netlib_DownloadFile@20 @1099 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
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index bf3e4e9d50..9fbb61bf87 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -968,3 +968,4 @@ Netlib_DownloadFile @1093 NONAME
??4EventInfo@DB@@QEAAAEAV01@I@Z @1098 NONAME
?MarkEventRead@CSrmmBaseDialog@@QEAAXAEBVEventInfo@DB@@@Z @1099 NONAME
?getEvent@EventInfo@DB@@QEBAIXZ @1100 NONAME
+?GetPreviewPath@PROTO_INTERFACE@@QEBA?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1101 NONAME
diff --git a/src/mir_app/src/proto_interface.cpp b/src/mir_app/src/proto_interface.cpp
index a6fa43f410..573a4177d8 100644
--- a/src/mir_app/src/proto_interface.cpp
+++ b/src/mir_app/src/proto_interface.cpp
@@ -66,6 +66,11 @@ CMStringW PROTO_INTERFACE::GetAvatarPath() const
return CMStringW(FORMAT, L"%s\\%S", VARSW(L"%miranda_avatarcache%").get(), m_szModuleName);
}
+CMStringW PROTO_INTERFACE::GetPreviewPath() const
+{
+ return CMStringW(FORMAT, L"%s\\Preview\\%S", VARSW(L"%miranda_userdata%").get(), m_szModuleName);
+}
+
void PROTO_INTERFACE::OnBuildProtoMenu()
{}