comparison Plugin/Plugin.cpp @ 191:993dd140bd30

Resort to Orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Apr 2018 21:29:30 +0200
parents 81f16c5667ba
children 0ef2d8b970ab
comparison
equal deleted inserted replaced
190:7151dbac8d5e 191:993dd140bd30
17 * You should have received a copy of the GNU Affero General Public License 17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **/ 19 **/
20 20
21 21
22 #include "ViewerToolbox.h"
23 #include "ViewerPrefetchPolicy.h"
24 #include "DecodedImageAdapter.h"
25 #include "SeriesInformationAdapter.h"
26
27 #include <Core/DicomFormat/DicomMap.h>
28 #include <Core/OrthancException.h>
29 #include <Core/SystemToolbox.h>
30 #include <Core/Toolbox.h>
31 #include <Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h>
32
22 #include <boost/thread.hpp> 33 #include <boost/thread.hpp>
23 #include <boost/lexical_cast.hpp> 34 #include <boost/lexical_cast.hpp>
24 #include <EmbeddedResources.h> 35 #include <EmbeddedResources.h>
25 #include <boost/filesystem.hpp> 36 #include <boost/filesystem.hpp>
26
27 #include "../Orthanc/Core/OrthancException.h"
28 #include "../Orthanc/Core/DicomFormat/DicomMap.h"
29 #include "ViewerToolbox.h"
30 #include "ViewerPrefetchPolicy.h"
31 #include "DecodedImageAdapter.h"
32 #include "SeriesInformationAdapter.h"
33 #include "../Orthanc/Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h"
34 #include "../Orthanc/Core/Toolbox.h"
35 #include "../Orthanc/Core/SystemToolbox.h"
36 37
37 38
38 static OrthancPluginContext* context_ = NULL; 39 static OrthancPluginContext* context_ = NULL;
39 static bool restrictTransferSyntaxes_ = false; 40 static bool restrictTransferSyntaxes_ = false;
40 static std::set<std::string> enabledTransferSyntaxes_; 41 static std::set<std::string> enabledTransferSyntaxes_;