comparison Plugins/Engine/OrthancPlugins.cpp @ 1572:904096e7367e

More information about the origin request in OnStoredInstance() callbacks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 12:10:12 +0200
parents 3232f1c995a5
children 09715095fc53
comparison
equal deleted inserted replaced
1571:3232f1c995a5 1572:904096e7367e
811 *reinterpret_cast<DicomInstanceToStore*>(p.instance); 811 *reinterpret_cast<DicomInstanceToStore*>(p.instance);
812 812
813 switch (service) 813 switch (service)
814 { 814 {
815 case _OrthancPluginService_GetInstanceRemoteAet: 815 case _OrthancPluginService_GetInstanceRemoteAet:
816 *p.resultString = instance.GetRemoteAet().c_str(); 816 *p.resultString = instance.GetRemoteAet();
817 return; 817 return;
818 818
819 case _OrthancPluginService_GetInstanceSize: 819 case _OrthancPluginService_GetInstanceSize:
820 *p.resultInt64 = instance.GetBufferSize(); 820 *p.resultInt64 = instance.GetBufferSize();
821 return; 821 return;