CurlHandle.h 378 B

123456789101112131415161718192021
  1. #ifndef INCLUDE_CURLHANDLE_H_
  2. #define INCLUDE_CURLHANDLE_H_
  3. class CurlHandle {
  4. public:
  5. static CurlHandle &instance();
  6. CurlHandle(CurlHandle const &) = delete;
  7. CurlHandle(CurlHandle &&) = delete;
  8. CurlHandle &operator=(CurlHandle const &) = delete;
  9. CurlHandle &operator=(CurlHandle &&) = delete;
  10. ~CurlHandle();
  11. private:
  12. CurlHandle();
  13. };
  14. #endif