budget/src/optHandlers/operation.h

27 lines
337 B
C++

//
// Created by quentin on 1/17/23.
//
#ifndef BUDGET_OPERATION_H
#define BUDGET_OPERATION_H
#include <sqlite3.h>
namespace Budget::OptHandlers {
class Operation {
public:
explicit Operation(sqlite3 *db);
virtual void commit() = 0;
struct Flags {
};
protected:
sqlite3 *db{};
};
}
#endif //BUDGET_OPERATION_H