summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ledger.h b/ledger.h
index 8fec0c17..94a7e08a 100644
--- a/ledger.h
+++ b/ledger.h
@@ -94,6 +94,8 @@ class entry_t
};
+#define ACCOUNT_DISPLAYED 0x1
+
typedef std::map<const std::string, account_t *> accounts_map;
typedef std::pair<const std::string, account_t *> accounts_pair;
@@ -109,6 +111,7 @@ class account_t
balance_pair_t value;
balance_pair_t total;
unsigned long ident;
+ unsigned long flags;
mutable std::string _fullname;
static unsigned long next_ident;
@@ -117,7 +120,7 @@ class account_t
const std::string& _name = "",
const std::string& _note = "")
: parent(_parent), name(_name), note(_note),
- depth(parent ? parent->depth + 1 : 0) {}
+ depth(parent ? parent->depth + 1 : 0), flags(0) {}
~account_t();