First pass

This commit is contained in:
2011-08-25 17:45:41 +02:00
parent ed6a7a5fef
commit 991486a042
64 changed files with 1257 additions and 8876 deletions

View File

@@ -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;
}