Browse Source

Added message_cache.cc/hh to Windows build and fixed compile error.

ENGINE-781
Jorg Knobloch 5 years ago
parent
commit
7c579c8f13
  1. 2
      libpEpAdapter/libpEpAdapter.vcxproj
  2. 6
      libpEpAdapter/libpEpAdapter.vcxproj.filters
  3. 4
      message_cache.cc

2
libpEpAdapter/libpEpAdapter.vcxproj

@ -99,6 +99,7 @@ XCOPY "$(SolutionDir)libpEpAdapter\*.hxx" "$(SolutionDir)pEp\" /I/F/Y
<ClCompile Include="..\Adapter.cc" />
<ClCompile Include="..\callback_dispatcher.cc" />
<ClCompile Include="..\call_with_lock.cc" />
<ClCompile Include="..\message_cache.cc" />
<ClCompile Include="..\passphrase_cache.cc" />
<ClCompile Include="..\slurp.cc" />
<ClCompile Include="..\status_to_string.cc" />
@ -108,6 +109,7 @@ XCOPY "$(SolutionDir)libpEpAdapter\*.hxx" "$(SolutionDir)pEp\" /I/F/Y
<ClInclude Include="..\Adapter.hxx" />
<ClInclude Include="..\callback_dispatcher.hh" />
<ClInclude Include="..\locked_queue.hh" />
<ClInclude Include="..\message_cache.hh" />
<ClInclude Include="..\passphrase_cache.hh" />
<ClInclude Include="..\passphrase_cache.hxx" />
<ClInclude Include="..\pc_container.hh" />

6
libpEpAdapter/libpEpAdapter.vcxproj.filters

@ -36,6 +36,9 @@
<ClCompile Include="..\callback_dispatcher.cc">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\message_cache.cc">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\Adapter.hh">
@ -68,5 +71,8 @@
<ClInclude Include="..\Semaphore.hh">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\message_cache.hh">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

4
message_cache.cc

@ -280,7 +280,7 @@ namespace pEp {
full->attachments = nullptr;
}
DYNAMIC_API PEP_STATUS MessageCache::decrypt_message(
PEP_STATUS MessageCache::decrypt_message(
PEP_SESSION session,
message *src,
message **dst,
@ -319,7 +319,7 @@ namespace pEp {
return status;
}
DYNAMIC_API PEP_STATUS MessageCache::mime_encode_message(
PEP_STATUS MessageCache::mime_encode_message(
which one,
const message * msg,
bool omit_fields,

Loading…
Cancel
Save