changeset 2695:c4ee0bedb51b jobs

some reserved global properties for plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Jul 2018 14:59:54 +0200
parents 8340596dc4a9
children 1b736d151ea1
files OrthancServer/ServerEnumerations.h
diffstat 1 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Fri Jun 29 09:56:04 2018 +0200
+++ b/OrthancServer/ServerEnumerations.h	Tue Jul 03 14:59:54 2018 +0200
@@ -76,8 +76,20 @@
     GlobalProperty_DatabaseSchemaVersion = 1,   // Unused in the Orthanc core as of Orthanc 0.9.5
     GlobalProperty_FlushSleep = 2,
     GlobalProperty_AnonymizationSequence = 3,
-    GlobalProperty_DatabasePatchLevel = 4,      // Reserved for internal use of the database plugins
-    GlobalProperty_JobsRegistry = 5
+    GlobalProperty_JobsRegistry = 5,
+
+    // Reserved values for internal use by the database plugins
+    GlobalProperty_DatabasePatchLevel = 4,
+    GlobalProperty_DatabaseInternal0 = 10,
+    GlobalProperty_DatabaseInternal1 = 11,
+    GlobalProperty_DatabaseInternal2 = 12,
+    GlobalProperty_DatabaseInternal3 = 13,
+    GlobalProperty_DatabaseInternal4 = 14,
+    GlobalProperty_DatabaseInternal5 = 15,
+    GlobalProperty_DatabaseInternal6 = 16,
+    GlobalProperty_DatabaseInternal7 = 17,
+    GlobalProperty_DatabaseInternal8 = 18,
+    GlobalProperty_DatabaseInternal9 = 19
   };
 
   enum MetadataType