summaryrefslogtreecommitdiff
path: root/examples/cxx/parser/multiroot/protocol-pimpl.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-18 18:48:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-02-25 13:45:48 +0300
commit5e527213a2430bb3018e5eebd909aef294edf9b5 (patch)
tree94de33c82080b53d9a9e300170f6d221d89078f4 /examples/cxx/parser/multiroot/protocol-pimpl.cxx
parent7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff)
Switch to build2
Diffstat (limited to 'examples/cxx/parser/multiroot/protocol-pimpl.cxx')
-rw-r--r--examples/cxx/parser/multiroot/protocol-pimpl.cxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/examples/cxx/parser/multiroot/protocol-pimpl.cxx b/examples/cxx/parser/multiroot/protocol-pimpl.cxx
deleted file mode 100644
index b5ec1b2..0000000
--- a/examples/cxx/parser/multiroot/protocol-pimpl.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-// file : examples/cxx/parser/multiroot/protocol-pimpl.cxx
-// copyright : not copyrighted - public domain
-
-#include "protocol-pimpl.hxx"
-
-namespace protocol
-{
- // request_pimpl
- //
- void request_pimpl::
- account (unsigned int account)
- {
- account_ = account;
- }
-
- request* request_pimpl::
- post_request ()
- {
- // This parser is never used directly.
- //
- return 0;
- }
-
- // balance_pimpl
- //
- balance* balance_pimpl::
- post_balance ()
- {
- return new balance (account_);
- }
-
- // withdraw_pimpl
- //
- void withdraw_pimpl::
- amount (unsigned int amount)
- {
- amount_ = amount;
- }
-
- withdraw* withdraw_pimpl::
- post_withdraw ()
- {
- return new withdraw (account_, amount_);
- }
-}
-