Mercurial > hg > orthanc-databases
comparison SQLite/Plugins/IndexPlugin.cpp @ 203:2089d4071408
moving classes out of OrthancPlugins namespace, to OrthancDatabases
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 18:15:34 +0100 |
parents | 42990b2dd51b |
children | 6dcf57074dd4 |
comparison
equal
deleted
inserted
replaced
202:2def2df94f94 | 203:2089d4071408 |
---|---|
63 { | 63 { |
64 /* Create the database back-end */ | 64 /* Create the database back-end */ |
65 backend_.reset(new OrthancDatabases::SQLiteIndex(context, "index.db")); // TODO parameter | 65 backend_.reset(new OrthancDatabases::SQLiteIndex(context, "index.db")); // TODO parameter |
66 | 66 |
67 /* Register the SQLite index into Orthanc */ | 67 /* Register the SQLite index into Orthanc */ |
68 OrthancPlugins::DatabaseBackendAdapterV2::Register(context, *backend_); | 68 OrthancDatabases::DatabaseBackendAdapterV2::Register(context, *backend_); |
69 } | 69 } |
70 catch (Orthanc::OrthancException& e) | 70 catch (Orthanc::OrthancException& e) |
71 { | 71 { |
72 LOG(ERROR) << e.What(); | 72 LOG(ERROR) << e.What(); |
73 return -1; | 73 return -1; |