mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-03-23 21:55:30 +01:00
Located in bin/git/commits.lst; Created with GitHub API with --get-commit-db key. Can be lazily appended with the same key.
26 lines
318 B
C++
26 lines
318 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:
|
|
curl_handle(QObject* parent = nullptr);
|
|
~curl_handle();
|
|
|
|
CURL* get_curl();
|
|
|
|
operator CURL*()
|
|
{
|
|
return get_curl();
|
|
}
|
|
};
|