summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-02 16:23:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-02 16:32:16 -0400
commite52a6a9bd8e2bbf3a497696eed735eb00a8b9dde (patch)
tree2eb460e8512c91af08ff5884b680d1a49fe0c743 /format.h
parent9a9e06554eb9f57be8c839fb0af49a0473614172 (diff)
downloadledger-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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/format.h b/format.h
index 840ff564..585216bf 100644
--- a/format.h
+++ b/format.h
@@ -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