First pass
This commit is contained in:
@@ -20,28 +20,27 @@
|
||||
#ifndef OPERATION_H
|
||||
#define OPERATION_H
|
||||
|
||||
#include <wx/wx.h>
|
||||
#include <vector>
|
||||
|
||||
struct Operation {
|
||||
wxString id;
|
||||
wxString parent;
|
||||
int id;
|
||||
int parent;
|
||||
unsigned int day;
|
||||
unsigned int month;
|
||||
unsigned int year;
|
||||
double amount;
|
||||
wxString description;
|
||||
wxString category;
|
||||
std::string description;
|
||||
int category;
|
||||
bool fix_cost;
|
||||
wxString account;
|
||||
int account;
|
||||
bool checked;
|
||||
wxString transfert;
|
||||
wxString formula;
|
||||
int transfert;
|
||||
std::string formula;
|
||||
bool meta;
|
||||
bool _virtual;
|
||||
std::vector<wxString> childs;
|
||||
std::vector<int> childs;
|
||||
|
||||
bool operator == (const wxString& opId)
|
||||
bool operator == (int opId)
|
||||
{
|
||||
return id == opId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user