Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginException.h @ 4034:78ee0155ec67
trying to use orthanc frameworking with web-viewer plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 10:14:15 +0200 |
parents | 94f4a18a79cc |
children |
comparison
equal
deleted
inserted
replaced
4033:0763630a42ef | 4034:78ee0155ec67 |
---|---|
37 # error The macro HAS_ORTHANC_EXCEPTION must be defined | 37 # error The macro HAS_ORTHANC_EXCEPTION must be defined |
38 #endif | 38 #endif |
39 | 39 |
40 | 40 |
41 #if HAS_ORTHANC_EXCEPTION == 1 | 41 #if HAS_ORTHANC_EXCEPTION == 1 |
42 # include "../../../Core/OrthancException.h" | 42 # include <OrthancException.h> |
43 # define ORTHANC_PLUGINS_ERROR_ENUMERATION ::Orthanc::ErrorCode | 43 # define ORTHANC_PLUGINS_ERROR_ENUMERATION ::Orthanc::ErrorCode |
44 # define ORTHANC_PLUGINS_EXCEPTION_CLASS ::Orthanc::OrthancException | 44 # define ORTHANC_PLUGINS_EXCEPTION_CLASS ::Orthanc::OrthancException |
45 # define ORTHANC_PLUGINS_GET_ERROR_CODE(code) ::Orthanc::ErrorCode_ ## code | 45 # define ORTHANC_PLUGINS_GET_ERROR_CODE(code) ::Orthanc::ErrorCode_ ## code |
46 #else | 46 #else |
47 # include <orthanc/OrthancCPlugin.h> | 47 # include <orthanc/OrthancCPlugin.h> |