budget/src/optHandlers/operation.h

27 lines
337 B
C
Raw Normal View History

//
// 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;
2023-01-17 13:47:36 -06:00
struct Flags {
};
protected:
sqlite3 *db{};
};
}
#endif //BUDGET_OPERATION_H