mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
6a418e6e59
Add followUser and unfollowUser methods to TwitchAccount
23 lines
405 B
C++
23 lines
405 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
|
|
class QNetworkReply;
|
|
|
|
namespace chatterino {
|
|
|
|
class NetworkResult;
|
|
|
|
using NetworkSuccessCallback = std::function<bool(NetworkResult)>;
|
|
using NetworkErrorCallback = std::function<bool(int)>;
|
|
using NetworkReplyCreatedCallback = std::function<void(QNetworkReply *)>;
|
|
|
|
enum class NetworkRequestType {
|
|
Get,
|
|
Post,
|
|
Put,
|
|
Delete,
|
|
};
|
|
|
|
} // namespace chatterino
|