comparison Sources/Autogenerated/sdk_OrthancPluginPeers.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 OrthancPluginPeers* object_;
26 bool borrowed_;
27 } sdk_OrthancPluginPeers_Object;
28
29
30
31 // Forward declaration of the methods
32 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeersCount( 21 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeersCount(
33 sdk_OrthancPluginPeers_Object* self, PyObject *args); 22 sdk_OrthancPluginPeers_Object* self, PyObject *args);
34 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerName( 23 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerName(
35 sdk_OrthancPluginPeers_Object* self, PyObject *args); 24 sdk_OrthancPluginPeers_Object* self, PyObject *args);
36 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUrl( 25 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUrl(
37 sdk_OrthancPluginPeers_Object* self, PyObject *args); 26 sdk_OrthancPluginPeers_Object* self, PyObject *args);
38 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUserProperty( 27 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUserProperty(
39 sdk_OrthancPluginPeers_Object* self, PyObject *args); 28 sdk_OrthancPluginPeers_Object* self, PyObject *args);
29 // End of forward declarations
30
31
32 // Forward declaration of the custom methods
33 // End of forward declarations
40 34
41 35
42 static PyMethodDef sdk_OrthancPluginPeers_Methods[] = { 36 static PyMethodDef sdk_OrthancPluginPeers_Methods[] = {
43 { "GetPeersCount", 37 { "GetPeersCount",
44 (PyCFunction) sdk_OrthancPluginPeers_OrthancPluginGetPeersCount, METH_VARARGS, 38 (PyCFunction) sdk_OrthancPluginPeers_OrthancPluginGetPeersCount, METH_VARARGS,
266 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); 260 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError);
267 } 261 }
268 } 262 }
269 263
270 264
271 PyObject* GetOrthancPluginPeersType() 265 PyTypeObject* GetOrthancPluginPeersType()
272 { 266 {
273 return (PyObject*) &sdk_OrthancPluginPeers_Type; 267 return &sdk_OrthancPluginPeers_Type;
274 } 268 }