diff OrthancServer/Sources/Search/ISqlLookupFormatter.h @ 5568:b0b5546f1b9f find-refactoring

find refactor: re-use existing code. /studies?expand is almost fully implemented with new code
author Alain Mazy <am@orthanc.team>
date Thu, 25 Apr 2024 09:22:07 +0200
parents 48b8dae6dc77
children 043c8016ed6a
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/ISqlLookupFormatter.h	Tue Apr 23 16:49:44 2024 +0200
+++ b/OrthancServer/Sources/Search/ISqlLookupFormatter.h	Thu Apr 25 09:22:07 2024 +0200
@@ -24,6 +24,7 @@
 
 #if ORTHANC_BUILDING_SERVER_LIBRARY == 1
 #  include "../../../OrthancFramework/Sources/Enumerations.h"
+#  include "../Search/LabelsConstraint.h"
 #else
 #  include <Enumerations.h>
 #endif
@@ -35,13 +36,6 @@
 {
   class DatabaseConstraint;
   
-  enum LabelsConstraint
-  {
-    LabelsConstraint_All,
-    LabelsConstraint_Any,
-    LabelsConstraint_None
-  };
-
   // This class is also used by the "orthanc-databases" project
   class ISqlLookupFormatter : public boost::noncopyable
   {