diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-30 06:26:38 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:33 -0400 |
commit | c8899addfd2deed3d84be2de234681db64987722 (patch) | |
tree | 07f9a5eb603ff4ec83fe18c83083575d2b7a439a /src/derive.h | |
parent | aa9cc125796711afcaa459898e95527fdae8e912 (diff) | |
download | fork-ledger-c8899addfd2deed3d84be2de234681db64987722.tar.gz fork-ledger-c8899addfd2deed3d84be2de234681db64987722.tar.bz2 fork-ledger-c8899addfd2deed3d84be2de234681db64987722.zip |
Rearranged the sources a bit.
Diffstat (limited to 'src/derive.h')
-rw-r--r-- | src/derive.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/derive.h b/src/derive.h new file mode 100644 index 00000000..c0607fc2 --- /dev/null +++ b/src/derive.h @@ -0,0 +1,18 @@ +#ifndef _DERIVE_H +#define _DERIVE_H + +#include "journal.h" + +namespace ledger { + +class derive_command : public xml::xpath_t::functor_t +{ + public: + derive_command() : xml::xpath_t::functor_t("entry", true) {} + + virtual void operator()(value_t& result, xml::xpath_t::scope_t * locals); +}; + +} // namespace ledger + +#endif // _DERIVE_H |