Files
itgmania212121/extern/IXWebSocket-11.3.2/ixwebsocket/IXProgressCallback.h
T

17 lines
343 B
C++
Raw Normal View History

2021-09-11 23:21:34 +02:00
/*
* IXProgressCallback.h
* Author: Benjamin Sergeant
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include <functional>
2022-01-30 16:09:38 +01:00
#include <string>
2021-09-11 23:21:34 +02:00
namespace ix
{
using OnProgressCallback = std::function<bool(int current, int total)>;
2022-01-30 16:09:38 +01:00
using OnChunkCallback = std::function<void(const std::string&)>;
2021-09-11 23:21:34 +02:00
}