mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-16 21:42:43 +00:00
16 lines
319 B
C++
16 lines
319 B
C++
#pragma once
|
|
#include <functional>
|
|
|
|
namespace Slic3r { namespace tex2color {
|
|
|
|
struct AlgoProgress {
|
|
int percent = 0;
|
|
const char* message = "";
|
|
};
|
|
|
|
using AlgoProgressCallback = std::function<void(AlgoProgress)>;
|
|
using AlgoCancelCallback = std::function<bool()>;
|
|
|
|
} // namespace tex2color
|
|
} // namespace Slic3r
|