Adapted to ACL
[account.git] / account.h
index 997a912..bbd8ff4 100644 (file)
--- a/account.h
+++ b/account.h
@@ -1,6 +1,6 @@
 
-#include <AXE/String.h>
-#include <AXE/date.h>
+#include <String.h>
+#include <date.h>
 
 #include "postscript.h"
 
@@ -299,6 +299,8 @@ public:
 
 class Ledger
 {
+   String  companyname;
+
    Account accs[200];
    int     nr_accs;
    int     idx;
@@ -307,6 +309,7 @@ public:
 
    Ledger()
    {
+      companyname = "";
       nr_accs = 0;
    }
 
@@ -342,7 +345,7 @@ public:
    friend std::ostream & operator<<(std::ostream &, Ledger&);
 
    void accounts_report(const char *);
-   void saldi_report(const char *);
-   void XML_saldi(std::ostream &);
+   void saldi_report(const char *, date period_begin, date period_end);
+   void XML_saldi(std::ostream &, date period_begin, date period_end);
 };