mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-24 03:55:38 -04:00
22 lines
343 B
C++
22 lines
343 B
C++
#ifndef OPENMC_PROGRESSBAR_H
|
|
#define OPENMC_PROGRESSBAR_H
|
|
|
|
#include <string>
|
|
|
|
class ProgressBar {
|
|
|
|
public:
|
|
// Constructor
|
|
ProgressBar();
|
|
|
|
void set_value(double val);
|
|
|
|
private:
|
|
std::string bar;
|
|
char bar_old[72] = "???% | |";
|
|
|
|
};
|
|
|
|
|
|
#endif // OPENMC_PROGRESSBAR_H
|
|
|