view OrthancCppClient/Package/SharedLibrary.cpp @ 518:58841db7b64e laaw

mainline to laaw integration
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jul 2013 16:14:18 +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"