Mercurial > hg > orthanc
comparison OrthancServer/Sources/Search/ISqlLookupFormatter.cpp @ 4096:d633e5bb7ba3
reusing of ISqlLookupFormatter and DatabaseConstraint in orthanc-databases project
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2020 08:42:21 +0200 |
parents | 05b8fd21089c |
children | 50b0c69b653a |
comparison
equal
deleted
inserted
replaced
4094:1c89208fbba9 | 4096:d633e5bb7ba3 |
---|---|
29 * You should have received a copy of the GNU General Public License | 29 * You should have received a copy of the GNU General Public License |
30 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 30 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #include "../PrecompiledHeadersServer.h" | 34 #if !defined(ORTHANC_BUILDING_SERVER_LIBRARY) |
35 # error Macro ORTHANC_BUILDING_SERVER_LIBRARY must be defined | |
36 #endif | |
37 | |
38 #if ORTHANC_BUILDING_SERVER_LIBRARY == 1 | |
39 # include "../PrecompiledHeadersServer.h" | |
40 #endif | |
41 | |
35 #include "ISqlLookupFormatter.h" | 42 #include "ISqlLookupFormatter.h" |
36 | 43 |
37 #include "../../../OrthancFramework/Sources/OrthancException.h" | 44 #if ORTHANC_BUILDING_SERVER_LIBRARY == 1 |
45 # include "../../../OrthancFramework/Sources/OrthancException.h" | |
46 #else | |
47 # include <OrthancException.h> | |
48 #endif | |
49 | |
38 #include "DatabaseConstraint.h" | 50 #include "DatabaseConstraint.h" |
39 | 51 |
40 namespace Orthanc | 52 namespace Orthanc |
41 { | 53 { |
42 static std::string FormatLevel(ResourceType level) | 54 static std::string FormatLevel(ResourceType level) |