0.1 update, make the stop container code more robust and fix some bugs, update the about screen for version 0.1
This commit is contained in:
parent
91fa50370a
commit
e8e93d7b21
17 changed files with 449 additions and 43 deletions
15
src/operation_state.cpp
Normal file
15
src/operation_state.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "operation_state.hpp"
|
||||
|
||||
#include <utility>
|
||||
|
||||
void OperationState::begin(std::string title, std::string message) {
|
||||
busy_ = true;
|
||||
title_ = std::move(title);
|
||||
message_ = std::move(message);
|
||||
result_.clear();
|
||||
}
|
||||
|
||||
void OperationState::complete(std::string result) {
|
||||
busy_ = false;
|
||||
result_ = std::move(result);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue