comparison MySQL/Plugins/MySQLIndex.h @ 110:441a472bfd93

new extension implemented for MySQL: CreateInstance
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Jan 2019 16:28:43 +0100
parents 48d445f756db
children 1525539ce5d9
comparison
equal deleted inserted replaced
109:3f31e3fa5114 110:441a472bfd93
74 OrthancPluginResourceType type); 74 OrthancPluginResourceType type);
75 75
76 virtual void DeleteResource(int64_t id); 76 virtual void DeleteResource(int64_t id);
77 77
78 virtual int64_t GetLastChangeIndex(); 78 virtual int64_t GetLastChangeIndex();
79
80 virtual bool HasCreateInstance() const ORTHANC_OVERRIDE
81 {
82 return true;
83 }
84
85 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
86 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result,
87 const char* hashPatient,
88 const char* hashStudy,
89 const char* hashSeries,
90 const char* hashInstance)
91 ORTHANC_OVERRIDE;
92 #endif
79 }; 93 };
80 } 94 }