Mercurial > hg > orthanc
diff Core/SQLite/StatementReference.h @ 3992:f9863630ec7f
working on the shared library for Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 16:07:01 +0200 |
parents | fa5ad4368fe3 |
children |
line wrap: on
line diff
--- a/Core/SQLite/StatementReference.h Fri May 29 21:23:57 2020 +0200 +++ b/Core/SQLite/StatementReference.h Fri Jun 05 16:07:01 2020 +0200 @@ -37,6 +37,12 @@ #pragma once +#if ORTHANC_SQLITE_STANDALONE == 1 +# define ORTHANC_PUBLIC +#else +# include "../OrthancFramework.h" +#endif + #include "NonCopyable.h" #include "SQLiteTypes.h" @@ -49,7 +55,7 @@ { namespace SQLite { - class StatementReference : NonCopyable + class ORTHANC_PUBLIC StatementReference : NonCopyable { private: StatementReference* root_; // Only used for non-root nodes