Mercurial > hg > orthanc-stone
comparison RenderingPlugin/Sources/OrthancPluginConnection.h @ 1885:ddaee6b96501
retrieving rt-struct info
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 Jan 2022 19:04:05 +0100 |
parents | |
children | 07964689cb0b |
comparison
equal
deleted
inserted
replaced
1884:0c6923982fdd | 1885:ddaee6b96501 |
---|---|
1 /** | |
2 * Stone of Orthanc | |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
4 * Department, University Hospital of Liege, Belgium | |
5 * Copyright (C) 2017-2022 Osimis S.A., Belgium | |
6 * Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | |
7 * | |
8 * This program is free software: you can redistribute it and/or | |
9 * modify it under the terms of the GNU General Public License as | |
10 * published by the Free Software Foundation, either version 3 of the | |
11 * License, or (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, but | |
14 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 * General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 **/ | |
21 | |
22 | |
23 #pragma once | |
24 | |
25 #include "../../OrthancStone/Sources/Toolbox/OrthancDatasets/IOrthancConnection.h" | |
26 | |
27 #include <Compatibility.h> | |
28 | |
29 namespace OrthancStone | |
30 { | |
31 class OrthancPluginConnection : public IOrthancConnection | |
32 { | |
33 public: | |
34 virtual void RestApiGet(std::string& result, | |
35 const std::string& uri) ORTHANC_OVERRIDE; | |
36 | |
37 virtual void RestApiPost(std::string& result, | |
38 const std::string& uri, | |
39 const std::string& body) ORTHANC_OVERRIDE; | |
40 | |
41 virtual void RestApiPut(std::string& result, | |
42 const std::string& uri, | |
43 const std::string& body) ORTHANC_OVERRIDE; | |
44 | |
45 virtual void RestApiDelete(const std::string& uri) ORTHANC_OVERRIDE; | |
46 }; | |
47 } |