comparison OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h @ 629:0526d6246cc3 Orthanc-0.7.0

set version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Oct 2013 14:17:38 +0200
parents 84011417321d
children 5425bb6f1ea5
comparison
equal deleted inserted replaced
628:8d1175318bb3 629:0526d6246cc3
79 #include <stdlib.h> 79 #include <stdlib.h>
80 #include <dlfcn.h> 80 #include <dlfcn.h>
81 81
82 /* cf. http://sourceforge.net/p/predef/wiki/Architectures/ */ 82 /* cf. http://sourceforge.net/p/predef/wiki/Architectures/ */
83 #ifdef __amd64__ 83 #ifdef __amd64__
84 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.6" 84 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.7"
85 #else 85 #else
86 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.6" 86 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.7"
87 #endif 87 #endif
88 88
89 #define LAAW_ORTHANC_CLIENT_CALL_CONV 89 #define LAAW_ORTHANC_CLIENT_CALL_CONV
90 #define LAAW_ORTHANC_CLIENT_HANDLE_TYPE void* 90 #define LAAW_ORTHANC_CLIENT_HANDLE_TYPE void*
91 #define LAAW_ORTHANC_CLIENT_HANDLE_NULL NULL 91 #define LAAW_ORTHANC_CLIENT_HANDLE_NULL NULL
384 384
385 /** 385 /**
386 * It is assumed that the API does not change when the revision 386 * It is assumed that the API does not change when the revision
387 * number (MAJOR.MINOR.REVISION) changes. 387 * number (MAJOR.MINOR.REVISION) changes.
388 **/ 388 **/
389 if (strcmp(getVersion(), "0.6")) 389 if (strcmp(getVersion(), "0.7"))
390 { 390 {
391 throw ::OrthancClient::OrthancClientException("Mismatch between the C++ header and the library version"); 391 throw ::OrthancClient::OrthancClientException("Mismatch between the C++ header and the library version");
392 } 392 }
393 393
394 functionsIndex_[60] = LAAW_ORTHANC_CLIENT_GET_FUNCTION(handle_, "LAAW_EXTERNC_FreeString", "4"); 394 functionsIndex_[60] = LAAW_ORTHANC_CLIENT_GET_FUNCTION(handle_, "LAAW_EXTERNC_FreeString", "4");