rpcsx/rpcs3/rpcs3qt/curl_handle.h
Nekotekina c32fec774f Create mini-cache for commits
Located in bin/git/commits.lst;
Created with GitHub API with --get-commit-db key.
Can be lazily appended with the same key.
2021-02-06 00:37:53 +03:00

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();
}
};