2010-05-14 15:04:01 +02:00
|
|
|
#ifndef ACCOUNT_H
|
|
|
|
#define ACCOUNT_H
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
#include <map>
|
2010-05-15 11:21:42 +02:00
|
|
|
#include <wx/wx.h>
|
2010-05-14 15:04:01 +02:00
|
|
|
|
|
|
|
struct operation {
|
2010-05-15 11:21:42 +02:00
|
|
|
wxString id;
|
2010-05-14 15:04:01 +02:00
|
|
|
unsigned int day;
|
|
|
|
unsigned int month;
|
|
|
|
unsigned int year;
|
2010-05-15 11:21:42 +02:00
|
|
|
int amount;
|
|
|
|
wxString description;
|
|
|
|
wxString category;
|
2010-05-14 15:04:01 +02:00
|
|
|
bool fix_cost;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
class Account
|
|
|
|
{
|
2010-05-15 11:21:42 +02:00
|
|
|
public:
|
|
|
|
~Account();
|
|
|
|
|
|
|
|
wxString _id;
|
|
|
|
wxString _name;
|
|
|
|
wxString _number;
|
|
|
|
int _amount;
|
2010-05-14 15:04:01 +02:00
|
|
|
bool _shared;
|
|
|
|
bool _default;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|