Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/sdk_OrthancPluginChangeType.impl.h @ 41:393d2da0722a
upgrade to Orthanc SDK 1.7.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 Jul 2020 14:34:59 +0200 |
parents | fef9a239df5c |
children | 23f3099bed47 |
comparison
equal
deleted
inserted
replaced
40:1b6af7a317bf | 41:393d2da0722a |
---|---|
77 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "ORTHANC_STOPPED", PyLong_FromLong(11)); | 77 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "ORTHANC_STOPPED", PyLong_FromLong(11)); |
78 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_ATTACHMENT", PyLong_FromLong(12)); | 78 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_ATTACHMENT", PyLong_FromLong(12)); |
79 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_METADATA", PyLong_FromLong(13)); | 79 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_METADATA", PyLong_FromLong(13)); |
80 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_PEERS", PyLong_FromLong(14)); | 80 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_PEERS", PyLong_FromLong(14)); |
81 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_MODALITIES", PyLong_FromLong(15)); | 81 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "UPDATED_MODALITIES", PyLong_FromLong(15)); |
82 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "JOB_SUBMITTED", PyLong_FromLong(16)); | |
83 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "JOB_SUCCESS", PyLong_FromLong(17)); | |
84 PyDict_SetItemString(sdk_OrthancPluginChangeType_Type.tp_dict, "JOB_FAILURE", PyLong_FromLong(18)); | |
82 | 85 |
83 Py_INCREF(&sdk_OrthancPluginChangeType_Type); | 86 Py_INCREF(&sdk_OrthancPluginChangeType_Type); |
84 if (PyModule_AddObject(module, "ChangeType", (PyObject *)&sdk_OrthancPluginChangeType_Type) < 0) | 87 if (PyModule_AddObject(module, "ChangeType", (PyObject *)&sdk_OrthancPluginChangeType_Type) < 0) |
85 { | 88 { |
86 OrthancPlugins::LogError("Cannot register Python enumeration: OrthancPluginChangeType"); | 89 OrthancPlugins::LogError("Cannot register Python enumeration: OrthancPluginChangeType"); |