Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.cpp @ 1578:09715095fc53
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 15:33:36 +0200 |
parents | 904096e7367e |
children | b93c398f934d |
comparison
equal
deleted
inserted
replaced
1577:7aac0cddd42e | 1578:09715095fc53 |
---|---|
170 } | 170 } |
171 | 171 |
172 | 172 |
173 OrthancPlugins::OrthancPlugins() | 173 OrthancPlugins::OrthancPlugins() |
174 { | 174 { |
175 if (sizeof(int32_t) != sizeof(OrthancPluginErrorCode)) | |
176 { | |
177 /* Sanity check of the compiler */ | |
178 throw OrthancException(ErrorCode_Plugin); | |
179 } | |
180 | |
175 pimpl_.reset(new PImpl()); | 181 pimpl_.reset(new PImpl()); |
176 pimpl_->manager_.RegisterServiceProvider(*this); | 182 pimpl_->manager_.RegisterServiceProvider(*this); |
177 } | 183 } |
178 | 184 |
179 | 185 |