Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.cpp @ 381:9cde77ca9ad9 db-protobuf
initializing and finalizing protobuf
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Mar 2023 21:16:57 +0200 |
parents | 9db9e0275ec0 |
children | 346fe629d638 |
comparison
equal
deleted
inserted
replaced
380:cb91096fef06 | 381:9cde77ca9ad9 |
---|---|
2690 #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 | 2690 #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 |
2691 # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 2) | 2691 # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 9, 2) |
2692 OrthancDatabases::DatabaseBackendAdapterV3::Finalize(); | 2692 OrthancDatabases::DatabaseBackendAdapterV3::Finalize(); |
2693 # endif | 2693 # endif |
2694 #endif | 2694 #endif |
2695 | |
2696 #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 | |
2697 # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0) | |
2698 OrthancDatabases::DatabaseBackendAdapterV4::Finalize(); | |
2699 # endif | |
2700 #endif | |
2695 } | 2701 } |
2696 | 2702 |
2697 | 2703 |
2698 DatabaseManager* IndexBackend::CreateSingleDatabaseManager(IDatabaseBackend& backend) | 2704 DatabaseManager* IndexBackend::CreateSingleDatabaseManager(IDatabaseBackend& backend) |
2699 { | 2705 { |