32 lines
551 B
C
32 lines
551 B
C
|
//
|
||
|
// Created by quentin on 1/17/23.
|
||
|
//
|
||
|
|
||
|
#ifndef BUDGET_ACCOUNTOPERATION_H
|
||
|
#define BUDGET_ACCOUNTOPERATION_H
|
||
|
|
||
|
#include <string>
|
||
|
#include <utility>
|
||
|
#include "operation.h"
|
||
|
|
||
|
namespace Budget::OptHandlers {
|
||
|
class AccountOperation : public Operation {
|
||
|
public:
|
||
|
void commit() override;
|
||
|
|
||
|
explicit AccountOperation();
|
||
|
|
||
|
struct Flags : public Operation::Flags {
|
||
|
bool del = false;
|
||
|
bool forceDel = false;
|
||
|
bool value = false;
|
||
|
std::string description;
|
||
|
};
|
||
|
|
||
|
Flags flags;
|
||
|
private:
|
||
|
};
|
||
|
} // OptHandlers
|
||
|
|
||
|
#endif //BUDGET_ACCOUNTOPERATION_H
|