diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-02 16:23:58 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-02 16:32:16 -0400 |
commit | e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde (patch) | |
tree | 2eb460e8512c91af08ff5884b680d1a49fe0c743 /format.h | |
parent | 9a9e06554eb9f57be8c839fb0af49a0473614172 (diff) | |
download | ledger-e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde.tar.gz ledger-e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde.tar.bz2 ledger-e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde.zip |
More infrastructure work toward getting journal objects to provide their own
information in an abstract manner.
Diffstat (limited to 'format.h')
-rw-r--r-- | format.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -74,6 +74,8 @@ class format_t : public noncopyable static bool ansi_codes; static bool ansi_invert; + static element_t * parse_elements(const string& fmt); + public: format_t() { TRACE_CTOR(format_t, ""); @@ -100,11 +102,8 @@ public: elem->dump(out); } -private: - static element_t * parse_elements(const string& fmt); - static string truncate(const string& str, unsigned int width, - const bool is_account = false); + const bool is_account = false); }; } // namespace ledger |