summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-18 23:12:31 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-18 23:12:31 -0500
commitcd284f98c8d1cb13de4b6f29a1d98db8893a024f (patch)
treeb87b4deccb22bb6a35f40f00417b25137f9173ff /src/account.h
parent9a389650ea9b159b17a61b99c5bd3a017511337a (diff)
downloadfork-ledger-cd284f98c8d1cb13de4b6f29a1d98db8893a024f.tar.gz
fork-ledger-cd284f98c8d1cb13de4b6f29a1d98db8893a024f.tar.bz2
fork-ledger-cd284f98c8d1cb13de4b6f29a1d98db8893a024f.zip
Added an ACCOUNT_GENERATED flag
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/account.h b/src/account.h
index 1e56fe23..73cd35ac 100644
--- a/src/account.h
+++ b/src/account.h
@@ -55,9 +55,10 @@ typedef std::map<const string, account_t *> accounts_map;
class account_t : public supports_flags<>, public scope_t
{
-#define ACCOUNT_NORMAL 0x00 // no flags at all, a basic account
-#define ACCOUNT_KNOWN 0x01
-#define ACCOUNT_TEMP 0x02 // account is a temporary object
+#define ACCOUNT_NORMAL 0x00 // no flags at all, a basic account
+#define ACCOUNT_KNOWN 0x01
+#define ACCOUNT_TEMP 0x02 // account is a temporary object
+#define ACCOUNT_GENERATED 0x04 // account never actually existed
public:
account_t * parent;