Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/sdk_OrthancPluginWorklistQuery.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 | cbfc72a53970 |
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 { | |
22 PyObject_HEAD | |
23 | |
24 /* Type-specific fields go here. */ | |
25 OrthancPluginWorklistQuery* object_; | |
26 bool borrowed_; | |
27 } sdk_OrthancPluginWorklistQuery_Object; | |
28 | |
29 | |
30 | |
31 // Forward declaration of the methods | |
32 static PyObject *sdk_OrthancPluginWorklistQuery_OrthancPluginWorklistIsMatch( | 21 static PyObject *sdk_OrthancPluginWorklistQuery_OrthancPluginWorklistIsMatch( |
33 sdk_OrthancPluginWorklistQuery_Object* self, PyObject *args); | 22 sdk_OrthancPluginWorklistQuery_Object* self, PyObject *args); |
34 static PyObject *sdk_OrthancPluginWorklistQuery_OrthancPluginWorklistGetDicomQuery( | 23 static PyObject *sdk_OrthancPluginWorklistQuery_OrthancPluginWorklistGetDicomQuery( |
35 sdk_OrthancPluginWorklistQuery_Object* self, PyObject *args); | 24 sdk_OrthancPluginWorklistQuery_Object* self, PyObject *args); |
25 // End of forward declarations | |
26 | |
27 | |
28 // Forward declaration of the custom methods | |
29 // End of forward declarations | |
36 | 30 |
37 | 31 |
38 static PyMethodDef sdk_OrthancPluginWorklistQuery_Methods[] = { | 32 static PyMethodDef sdk_OrthancPluginWorklistQuery_Methods[] = { |
39 { "WorklistIsMatch", | 33 { "WorklistIsMatch", |
40 (PyCFunction) sdk_OrthancPluginWorklistQuery_OrthancPluginWorklistIsMatch, METH_VARARGS, | 34 (PyCFunction) sdk_OrthancPluginWorklistQuery_OrthancPluginWorklistIsMatch, METH_VARARGS, |
167 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); | 161 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); |
168 } | 162 } |
169 } | 163 } |
170 | 164 |
171 | 165 |
172 PyObject* GetOrthancPluginWorklistQueryType() | 166 PyTypeObject* GetOrthancPluginWorklistQueryType() |
173 { | 167 { |
174 return (PyObject*) &sdk_OrthancPluginWorklistQuery_Type; | 168 return &sdk_OrthancPluginWorklistQuery_Type; |
175 } | 169 } |