diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 21:05:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 21:05:23 +0300 |
commit | 5ebe9c34375bce857ad3160abba67d6ed2beadaf (patch) | |
tree | 6ec4260f751125db66852d70aed8e106a2527012 /plugins/CryptoPP/src | |
parent | 754665d1ae053678088144bb833bda76a0d95794 (diff) |
MirLua, MirOTR, New_GPG, OpenSSL, SecureIM -> CMplugin
Diffstat (limited to 'plugins/CryptoPP/src')
-rw-r--r-- | plugins/CryptoPP/src/main.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp index 6c735ccbbd..de8b9a178d 100644 --- a/plugins/CryptoPP/src/main.cpp +++ b/plugins/CryptoPP/src/main.cpp @@ -11,7 +11,10 @@ HANDLE hRSA4096 = nullptr; mir_cs localQueueMutex;
mir_cs localContextMutex;
-PLUGININFOEX pluginInfoEx = {
+/////////////////////////////////////////////////////////////////////////////////////////
+
+PLUGININFOEX pluginInfoEx =
+{
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
@@ -29,6 +32,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfoEx;
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
int onModulesLoaded(WPARAM wParam, LPARAM lParam)
{
// updater plugin support
@@ -53,11 +58,15 @@ extern "C" __declspec(dllexport) int Load() return 0;
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
extern "C" __declspec(dllexport) int Unload()
{
return 0;
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
BOOL ExtractFileFromResource(HANDLE FH, int ResType, int ResId, DWORD* Size)
{
HRSRC RH = FindResource(g_plugin.getInst(), MAKEINTRESOURCE(ResId), MAKEINTRESOURCE(ResType));
|