view OrthancCppClient/Package/SharedLibrary.cpp @ 520:cd7d4842851c laaw

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jul 2013 16:36:24 +0200
parents a8938e00bc08
children a65f808de5bd
line wrap: on
line source

#include "../../Core/HttpClient.h"
#include "../OrthancConnection.h"


class SharedLibrarySingleton
{
public:
  SharedLibrarySingleton()
  {
    Orthanc::HttpClient::GlobalInitialize();
  }

  ~SharedLibrarySingleton()
  {
    Orthanc::HttpClient::GlobalFinalize();
  }
};


static SharedLibrarySingleton  singleton_;


#include "Build/ExternC.cpp"