mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-01 21:34:41 +01:00
26 lines
339 B
C++
26 lines
339 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
#ifndef CURL_STATICLIB
|
|
#define CURL_STATICLIB
|
|
#endif
|
|
#include <curl/curl.h>
|
|
|
|
class curl_handle : public QObject
|
|
{
|
|
private:
|
|
CURL* m_curl = nullptr;
|
|
|
|
public:
|
|
explicit curl_handle(QObject* parent = nullptr);
|
|
~curl_handle();
|
|
|
|
CURL* get_curl() const;
|
|
|
|
operator CURL*() const
|
|
{
|
|
return get_curl();
|
|
}
|
|
};
|