diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-13 03:41:00 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-13 03:41:00 -0500 |
commit | cfe8142b2b371dd40867e010b6b6c58fe864ba21 (patch) | |
tree | e5a024f8a61281db8225acb3576b0137e9ec9a83 /src/post.h | |
parent | cb317f9d395f44b2c2fc48f02869c3ed0f5ebcd0 (diff) | |
download | fork-ledger-cfe8142b2b371dd40867e010b6b6c58fe864ba21.tar.gz fork-ledger-cfe8142b2b371dd40867e010b6b6c58fe864ba21.tar.bz2 fork-ledger-cfe8142b2b371dd40867e010b6b6c58fe864ba21.zip |
Access to checkin/checkout of timelog entries
Diffstat (limited to 'src/post.h')
-rw-r--r-- | src/post.h | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -61,13 +61,15 @@ public: #define POST_COST_VIRTUAL 0x0400 // cost is virtualized: (@) #define POST_ANONYMIZED 0x0800 // a temporary, anonymous posting - xact_t * xact; // only set for posts of regular xacts - account_t * account; - - amount_t amount; // can be null until finalization - optional<expr_t> amount_expr; - optional<amount_t> cost; - optional<amount_t> assigned_amount; + xact_t * xact; // only set for posts of regular xacts + account_t * account; + + amount_t amount; // can be null until finalization + optional<expr_t> amount_expr; + optional<amount_t> cost; + optional<amount_t> assigned_amount; + optional<datetime_t> checkin; + optional<datetime_t> checkout; post_t(account_t * _account = NULL, flags_t _flags = ITEM_NORMAL) |