changeset 3100:f6de9d25b20d db-changes

removing build dependency on plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Jan 2019 16:21:57 +0100
parents 9c71abbff70f
children b2b6db5ad9a5
files OrthancServer/Database/IDatabaseWrapper.h OrthancServer/Search/ISqlLookupFormatter.cpp OrthancServer/Search/ISqlLookupFormatter.h
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Database/IDatabaseWrapper.h	Mon Jan 07 16:13:16 2019 +0100
+++ b/OrthancServer/Database/IDatabaseWrapper.h	Mon Jan 07 16:21:57 2019 +0100
@@ -39,7 +39,6 @@
 #include "../../Core/SQLite/ITransaction.h"
 
 #include "../ExportedResource.h"
-#include "../Search/DatabaseConstraint.h"
 #include "IDatabaseListener.h"
 
 #include <list>
@@ -47,6 +46,7 @@
 
 namespace Orthanc
 {
+  class DatabaseConstraint;
   class ResourcesContent;
 
   
--- a/OrthancServer/Search/ISqlLookupFormatter.cpp	Mon Jan 07 16:13:16 2019 +0100
+++ b/OrthancServer/Search/ISqlLookupFormatter.cpp	Mon Jan 07 16:21:57 2019 +0100
@@ -35,6 +35,7 @@
 #include "ISqlLookupFormatter.h"
 
 #include "../../Core/OrthancException.h"
+#include "DatabaseConstraint.h"
 
 namespace Orthanc
 {
--- a/OrthancServer/Search/ISqlLookupFormatter.h	Mon Jan 07 16:13:16 2019 +0100
+++ b/OrthancServer/Search/ISqlLookupFormatter.h	Mon Jan 07 16:21:57 2019 +0100
@@ -33,10 +33,15 @@
 
 #pragma once
 
-#include "DatabaseConstraint.h"
+#include "../../Core/Enumerations.h"
+
+#include <boost/noncopyable.hpp>
+#include <vector>
 
 namespace Orthanc
 {
+  class DatabaseConstraint;
+  
   // This class is also used by the "orthanc-databases" project
   class ISqlLookupFormatter : public boost::noncopyable
   {