1/*
2 * IXProgressCallback.h
3 * Author: Benjamin Sergeant
4 * Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
5 */
6
7#pragma once
8
9#include <functional>
10#include <string>
11
12namespace ix
13{
14 using OnProgressCallback = std::function<bool(int current, int total)>;
15 using OnChunkCallback = std::function<void(const std::string&)>;
16}
17