diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-24 19:53:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-24 19:53:59 -0400 |
commit | 2f50e30b89a06e2f3c439f4a8440e4d35b4ebb27 (patch) | |
tree | 330f3ffd1e9ae74cebe642409ccc6c351efb8670 /src/account.h | |
parent | bc51cd4651225ad95190880c4d6f71e3a069ebbc (diff) | |
download | fork-ledger-2f50e30b89a06e2f3c439f4a8440e4d35b4ebb27.tar.gz fork-ledger-2f50e30b89a06e2f3c439f4a8440e4d35b4ebb27.tar.bz2 fork-ledger-2f50e30b89a06e2f3c439f4a8440e4d35b4ebb27.zip |
Scopes can now provide a description of themselves
This isn't being used yet, but it likely will to improve the information
presented to users if their value expressions fail to compile or
evaluate.
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/account.h b/src/account.h index 26ebe261..7a632b35 100644 --- a/src/account.h +++ b/src/account.h @@ -89,6 +89,10 @@ public: } ~account_t(); + virtual string description() { + return string(_("account ")) + fullname(); + } + operator string() const { return fullname(); } |