summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-07 21:55:51 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-07 21:55:51 -0400
commit71591555fd4069075e02a25c6403f300d9ecd59d (patch)
tree18f0339b9837fd559934f1dc3f51da7ec2d2b5e3 /src/session.h
parent591ebbf1bd7fefc76e28a86efce5339034a1dbd5 (diff)
downloadfork-ledger-71591555fd4069075e02a25c6403f300d9ecd59d.tar.gz
fork-ledger-71591555fd4069075e02a25c6403f300d9ecd59d.tar.bz2
fork-ledger-71591555fd4069075e02a25c6403f300d9ecd59d.zip
Added --leeway option (for quote downloading) into session_t.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index ce1faa1c..231b6c73 100644
--- a/src/session.h
+++ b/src/session.h
@@ -107,6 +107,13 @@ public:
OPTION(session_t, download); // -Q
OPTION__
+ (session_t, leeway_,
+ CTOR(session_t, leeway_) { value = 24L * 3600L; }
+ DO_(args) {
+ value = args[0].to_long() * 60L;
+ });
+
+ OPTION__
(session_t, file_, // -f
std::list<path> data_files;
CTOR(session_t, file_) {}