From 265b6179424fcf1a493c2683175781dad1aaa84f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 22 Apr 2021 17:38:10 +0300 Subject: project file fix --- protocols/WhatsAppWeb/WhatsAppWeb.vcxproj | 13 +++++++++---- protocols/WhatsAppWeb/src/main.cpp | 18 +++++++++--------- 2 files changed, 18 insertions(+), 13 deletions(-) (limited to 'protocols') diff --git a/protocols/WhatsAppWeb/WhatsAppWeb.vcxproj b/protocols/WhatsAppWeb/WhatsAppWeb.vcxproj index 3648058fe1..620af4a800 100644 --- a/protocols/WhatsAppWeb/WhatsAppWeb.vcxproj +++ b/protocols/WhatsAppWeb/WhatsAppWeb.vcxproj @@ -33,6 +33,14 @@ {13E796AD-BEA4-4213-A1B8-E18E2397E544} WhatsAppWeb + + true + x64-windows-static-md + + + true + x86-windows-static-md + @@ -47,10 +55,7 @@ - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing diff --git a/protocols/WhatsAppWeb/src/main.cpp b/protocols/WhatsAppWeb/src/main.cpp index 91c44d4b18..852e55b3af 100644 --- a/protocols/WhatsAppWeb/src/main.cpp +++ b/protocols/WhatsAppWeb/src/main.cpp @@ -30,6 +30,15 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC ///////////////////////////////////////////////////////////////////////////////////////// +CMPlugin::CMPlugin() : + ACCPROTOPLUGIN(MODULENAME, pluginInfo) +{ + SetUniqueId(DBKEY_ID); +} + +///////////////////////////////////////////////////////////////////////////////////////// +// Load + static int hmac_sha256_init(void **hmac_context, const uint8_t *key, size_t key_len, void *) { HMAC_CTX *ctx = HMAC_CTX_new(); @@ -65,15 +74,6 @@ static int random_func(uint8_t *pData, size_t size, void *) return 0; } -CMPlugin::CMPlugin() : - ACCPROTOPLUGIN(MODULENAME, pluginInfo) -{ - SetUniqueId(DBKEY_ID); -} - -///////////////////////////////////////////////////////////////////////////////////////// -// Load - int CMPlugin::Load() { // InitIcons(); -- cgit v1.2.3