You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
343 B

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