comparison Sources/Autogenerated/sdk_OrthancPluginDicomWebNode.impl.h @ 63:32de70a1e4c7

New functions from the SDK wrapped in Python: CreateDicom, RegisterFindCallback, RegisterMoveCallback
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Jun 2021 18:19:27 +0200
parents 23f3099bed47
children eb6ac5a801d1
comparison
equal deleted inserted replaced
62:d82eef8c98fc 63:32de70a1e4c7
15 * You should have received a copy of the GNU Affero General Public License 15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 **/ 17 **/
18 18
19 19
20 typedef struct 20 // Forward declaration of the autogenerated methods
21 { 21 // End of forward declarations
22 PyObject_HEAD
23
24 /* Type-specific fields go here. */
25 OrthancPluginDicomWebNode* object_;
26 bool borrowed_;
27 } sdk_OrthancPluginDicomWebNode_Object;
28 22
29 23
30 24 // Forward declaration of the custom methods
31 // Forward declaration of the methods 25 // End of forward declarations
32 26
33 27
34 static PyMethodDef sdk_OrthancPluginDicomWebNode_Methods[] = { 28 static PyMethodDef sdk_OrthancPluginDicomWebNode_Methods[] = {
35 { NULL } /* Sentinel */ 29 { NULL } /* Sentinel */
36 }; 30 };
101 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); 95 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError);
102 } 96 }
103 } 97 }
104 98
105 99
106 PyObject* GetOrthancPluginDicomWebNodeType() 100 PyTypeObject* GetOrthancPluginDicomWebNodeType()
107 { 101 {
108 return (PyObject*) &sdk_OrthancPluginDicomWebNode_Type; 102 return &sdk_OrthancPluginDicomWebNode_Type;
109 } 103 }