summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-24 19:53:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-24 19:53:59 -0400
commit2f50e30b89a06e2f3c439f4a8440e4d35b4ebb27 (patch)
tree330f3ffd1e9ae74cebe642409ccc6c351efb8670 /src/session.h
parentbc51cd4651225ad95190880c4d6f71e3a069ebbc (diff)
downloadfork-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/session.h')
-rw-r--r--src/session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index 6de4b2dd..b8fd52f2 100644
--- a/src/session.h
+++ b/src/session.h
@@ -64,6 +64,10 @@ public:
TRACE_DTOR(session_t);
}
+ virtual string description() {
+ return _("current session");
+ }
+
void set_flush_on_next_data_file(const bool truth) {
flush_on_next_data_file = truth;
}