Mercurial > hg > orthanc-databases
comparison SQLite/Plugins/IndexPlugin.cpp @ 28:c0cb5d2cd696
checks depending on Orthanc version
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 16 Jul 2018 14:48:43 +0200 |
parents | 17f849b2af34 |
children | eedd082355f9 |
comparison
equal
deleted
inserted
replaced
27:173176f8cef2 | 28:c0cb5d2cd696 |
---|---|
29 | 29 |
30 extern "C" | 30 extern "C" |
31 { | 31 { |
32 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) | 32 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) |
33 { | 33 { |
34 if (!OrthancDatabases::InitializePlugin | 34 if (!OrthancDatabases::InitializePlugin(context, "SQLite", true)) |
35 (context, "SQLite index", | |
36 "Stores the Orthanc index into a SQLite database.")) | |
37 { | 35 { |
38 return -1; | 36 return -1; |
39 } | 37 } |
40 | 38 |
41 #if 0 | 39 #if 0 |