# HG changeset patch # User Sebastien Jodogne # Date 1714753829 -7200 # Node ID 043c8016ed6a7987e8c403a365e5c1f0f868bef0 # Parent 8b32213af23ebdb4810f045c897f223b305d0cc4 removing standalone OrthancServer/Sources/Search/LabelsConstraint.h diff -r 8b32213af23e -r 043c8016ed6a OrthancServer/Sources/Database/FindRequest.h --- a/OrthancServer/Sources/Database/FindRequest.h Fri May 03 18:17:53 2024 +0200 +++ b/OrthancServer/Sources/Database/FindRequest.h Fri May 03 18:30:29 2024 +0200 @@ -23,11 +23,11 @@ #pragma once #include "../../../OrthancFramework/Sources/DicomFormat/DicomTag.h" +#include "../Search/DatabaseConstraint.h" +#include "../Search/DicomTagConstraint.h" +#include "../Search/ISqlLookupFormatter.h" #include "../ServerEnumerations.h" #include "OrthancIdentifiers.h" -#include "../Search/DicomTagConstraint.h" -#include "../Search/LabelsConstraint.h" -#include "../Search/DatabaseConstraint.h" #include #include diff -r 8b32213af23e -r 043c8016ed6a OrthancServer/Sources/Search/ISqlLookupFormatter.h --- a/OrthancServer/Sources/Search/ISqlLookupFormatter.h Fri May 03 18:17:53 2024 +0200 +++ b/OrthancServer/Sources/Search/ISqlLookupFormatter.h Fri May 03 18:30:29 2024 +0200 @@ -24,7 +24,6 @@ #if ORTHANC_BUILDING_SERVER_LIBRARY == 1 # include "../../../OrthancFramework/Sources/Enumerations.h" -# include "../Search/LabelsConstraint.h" #else # include #endif @@ -35,7 +34,14 @@ namespace Orthanc { 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 { diff -r 8b32213af23e -r 043c8016ed6a OrthancServer/Sources/Search/LabelsConstraint.h --- a/OrthancServer/Sources/Search/LabelsConstraint.h Fri May 03 18:17:53 2024 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -/** - * Orthanc - A Lightweight, RESTful DICOM Store - * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics - * Department, University Hospital of Liege, Belgium - * Copyright (C) 2017-2024 Osimis S.A., Belgium - * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium - * - * This program is free software: you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - **/ - - -#pragma once - -namespace Orthanc -{ - enum LabelsConstraint - { - LabelsConstraint_All, - LabelsConstraint_Any, - LabelsConstraint_None - }; -} \ No newline at end of file