From 269ed73bfa30b8beb62454669d980147286b91ce Mon Sep 17 00:00:00 2001 From: hvlad Date: Tue, 13 Mar 2018 20:24:46 +0200 Subject: [PATCH] Fixed examples. --- examples/dbcrypt/CryptKeyHolder.cpp | 2 ++ examples/dbcrypt/DbCrypt.cpp | 2 ++ examples/dbcrypt/cryptDb.pas | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/examples/dbcrypt/CryptKeyHolder.cpp b/examples/dbcrypt/CryptKeyHolder.cpp index f1c9d0d796..1e92481e9f 100644 --- a/examples/dbcrypt/CryptKeyHolder.cpp +++ b/examples/dbcrypt/CryptKeyHolder.cpp @@ -56,6 +56,8 @@ public: pluginManager = NULL; } + void threadDetach() {}; + private: IPluginManager* pluginManager; }; diff --git a/examples/dbcrypt/DbCrypt.cpp b/examples/dbcrypt/DbCrypt.cpp index ae20a28380..6e964bdca2 100644 --- a/examples/dbcrypt/DbCrypt.cpp +++ b/examples/dbcrypt/DbCrypt.cpp @@ -58,6 +58,8 @@ public: pluginManager = NULL; } + void threadDetach() {}; + private: IPluginManager* pluginManager; }; diff --git a/examples/dbcrypt/cryptDb.pas b/examples/dbcrypt/cryptDb.pas index a092919cdf..bdeaba93c7 100644 --- a/examples/dbcrypt/cryptDb.pas +++ b/examples/dbcrypt/cryptDb.pas @@ -47,6 +47,7 @@ Type // TPluginModule implementation procedure doClean; override; + procedure threadDetach; override; end; TMyCrypt = class(IDbCryptPluginImpl) @@ -115,6 +116,10 @@ begin FRegistered := False; end; +procedure TMyPluginModule.threadDetach; +begin +end; + procedure TMyPluginModule.registerMe; begin if not FRegistered then