comparison Plugins/Engine/OrthancPlugins.cpp @ 1810:796d0b087fb8 worklists

more consistent naming in worklist primitives
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 23 Nov 2015 17:09:27 +0100
parents 5ed8769b17f9
children 8e5600e699c0 2abfdca9b915
comparison
equal deleted inserted replaced
1809:5ed8769b17f9 1810:796d0b087fb8
1930 case _OrthancPluginService_DicomBufferToJson: 1930 case _OrthancPluginService_DicomBufferToJson:
1931 case _OrthancPluginService_DicomInstanceToJson: 1931 case _OrthancPluginService_DicomInstanceToJson:
1932 ApplyDicomToJson(service, parameters); 1932 ApplyDicomToJson(service, parameters);
1933 return true; 1933 return true;
1934 1934
1935 case _OrthancPluginService_AddWorklistAnswer: 1935 case _OrthancPluginService_WorklistAddAnswer:
1936 { 1936 {
1937 const _OrthancPluginWorklistAnswersOperation& p = 1937 const _OrthancPluginWorklistAnswersOperation& p =
1938 *reinterpret_cast<const _OrthancPluginWorklistAnswersOperation*>(parameters); 1938 *reinterpret_cast<const _OrthancPluginWorklistAnswersOperation*>(parameters);
1939 reinterpret_cast<const WorklistHandler*>(p.query)->AddAnswer(p.answers, p.dicom, p.size); 1939 reinterpret_cast<const WorklistHandler*>(p.query)->AddAnswer(p.answers, p.dicom, p.size);
1940 return true; 1940 return true;
1941 } 1941 }
1942 1942
1943 case _OrthancPluginService_MarkWorklistAnswersIncomplete: 1943 case _OrthancPluginService_WorklistMarkIncomplete:
1944 { 1944 {
1945 const _OrthancPluginWorklistAnswersOperation& p = 1945 const _OrthancPluginWorklistAnswersOperation& p =
1946 *reinterpret_cast<const _OrthancPluginWorklistAnswersOperation*>(parameters); 1946 *reinterpret_cast<const _OrthancPluginWorklistAnswersOperation*>(parameters);
1947 reinterpret_cast<DicomFindAnswers*>(p.answers)->SetComplete(false); 1947 reinterpret_cast<DicomFindAnswers*>(p.answers)->SetComplete(false);
1948 return true; 1948 return true;
1949 } 1949 }
1950 1950
1951 case _OrthancPluginService_IsWorklistMatch: 1951 case _OrthancPluginService_WorklistIsMatch:
1952 { 1952 {
1953 const _OrthancPluginWorklistQueryOperation& p = 1953 const _OrthancPluginWorklistQueryOperation& p =
1954 *reinterpret_cast<const _OrthancPluginWorklistQueryOperation*>(parameters); 1954 *reinterpret_cast<const _OrthancPluginWorklistQueryOperation*>(parameters);
1955 *p.isMatch = reinterpret_cast<const WorklistHandler*>(p.query)->IsMatch(p.dicom, p.size); 1955 *p.isMatch = reinterpret_cast<const WorklistHandler*>(p.query)->IsMatch(p.dicom, p.size);
1956 return true; 1956 return true;
1957 } 1957 }
1958 1958
1959 case _OrthancPluginService_GetWorklistQueryDicom: 1959 case _OrthancPluginService_WorklistGetDicomQuery:
1960 { 1960 {
1961 const _OrthancPluginWorklistQueryOperation& p = 1961 const _OrthancPluginWorklistQueryOperation& p =
1962 *reinterpret_cast<const _OrthancPluginWorklistQueryOperation*>(parameters); 1962 *reinterpret_cast<const _OrthancPluginWorklistQueryOperation*>(parameters);
1963 reinterpret_cast<const WorklistHandler*>(p.query)->GetQueryDicom(*p.target); 1963 reinterpret_cast<const WorklistHandler*>(p.query)->GetQueryDicom(*p.target);
1964 return true; 1964 return true;