comparison OrthancFramework/Sources/Enumerations.cpp @ 4245:c70df925151e

RequestOrigin_WebDav
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 10 Oct 2020 11:23:11 +0200
parents f0d81320f17f
children 3dffe8f7af48
comparison
equal deleted inserted replaced
4244:416c35da7d25 4245:c70df925151e
735 case RequestOrigin_Plugins: 735 case RequestOrigin_Plugins:
736 return "Plugins"; 736 return "Plugins";
737 737
738 case RequestOrigin_Lua: 738 case RequestOrigin_Lua:
739 return "Lua"; 739 return "Lua";
740
741 case RequestOrigin_WebDav:
742 return "WebDav";
740 743
741 default: 744 default:
742 throw OrthancException(ErrorCode_ParameterOutOfRange); 745 throw OrthancException(ErrorCode_ParameterOutOfRange);
743 } 746 }
744 } 747 }
1660 } 1663 }
1661 else if (origin == "Lua") 1664 else if (origin == "Lua")
1662 { 1665 {
1663 return RequestOrigin_Lua; 1666 return RequestOrigin_Lua;
1664 } 1667 }
1668 else if (origin == "WebDav")
1669 {
1670 return RequestOrigin_WebDav;
1671 }
1665 else 1672 else
1666 { 1673 {
1667 throw OrthancException(ErrorCode_ParameterOutOfRange); 1674 throw OrthancException(ErrorCode_ParameterOutOfRange);
1668 } 1675 }
1669 } 1676 }