comparison Framework/Plugins/DatabaseBackendAdapterV2.h @ 222:c8e06b41feec

refactoring registration/finalization of index backend
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 01 Apr 2021 11:16:13 +0200
parents d9ef3f16e6a2
children 61c309e06797
comparison
equal deleted inserted replaced
221:73cc85f3d9c1 222:c8e06b41feec
68 } 68 }
69 69
70 virtual IDatabaseBackendOutput* CreateOutput() ORTHANC_OVERRIDE; 70 virtual IDatabaseBackendOutput* CreateOutput() ORTHANC_OVERRIDE;
71 }; 71 };
72 72
73 static void Register(IDatabaseBackend* backend);
73 74
74 /** 75 static void Finalize();
75 * Register a custom database back-end written in C++.
76 *
77 * @param context The Orthanc plugin context, as received by OrthancPluginInitialize().
78 * @param backend Your custom database engine.
79 **/
80
81 static void Register(IDatabaseBackend& backend);
82 }; 76 };
83 } 77 }