Mercurial > hg > orthanc-databases
comparison MySQL/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 | d9ef3f16e6a2 |
comparison
equal
deleted
inserted
replaced
202:2def2df94f94 | 203:2089d4071408 |
---|---|
69 | 69 |
70 /* Create the database back-end */ | 70 /* Create the database back-end */ |
71 backend_.reset(new OrthancDatabases::MySQLIndex(context, parameters)); | 71 backend_.reset(new OrthancDatabases::MySQLIndex(context, parameters)); |
72 | 72 |
73 /* Register the MySQL index into Orthanc */ | 73 /* Register the MySQL index into Orthanc */ |
74 OrthancPlugins::DatabaseBackendAdapterV2::Register(context, *backend_); | 74 OrthancDatabases::DatabaseBackendAdapterV2::Register(context, *backend_); |
75 } | 75 } |
76 catch (Orthanc::OrthancException& e) | 76 catch (Orthanc::OrthancException& e) |
77 { | 77 { |
78 LOG(ERROR) << e.What(); | 78 LOG(ERROR) << e.What(); |
79 return -1; | 79 return -1; |