From e1cd1e9e32e26c585c5da924539c3538d9e21fea Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Fri, 12 Jun 2015 13:42:52 -0400 Subject: [PATCH] Add header --- Builds/VisualStudio2013/RippleD.vcxproj | 2 ++ .../VisualStudio2013/RippleD.vcxproj.filters | 3 ++ src/ripple/rpc/handlers/AccountTx.cpp | 1 + src/ripple/rpc/handlers/Tx.cpp | 1 + src/ripple/rpc/impl/Utilities.cpp | 2 ++ src/ripple/rpc/impl/Utilities.h | 36 +++++++++++++++++++ 6 files changed, 45 insertions(+) create mode 100644 src/ripple/rpc/impl/Utilities.h diff --git a/Builds/VisualStudio2013/RippleD.vcxproj b/Builds/VisualStudio2013/RippleD.vcxproj index 19986c956..39e36e52f 100644 --- a/Builds/VisualStudio2013/RippleD.vcxproj +++ b/Builds/VisualStudio2013/RippleD.vcxproj @@ -3179,6 +3179,8 @@ True + + True diff --git a/Builds/VisualStudio2013/RippleD.vcxproj.filters b/Builds/VisualStudio2013/RippleD.vcxproj.filters index 03058285d..5d4913dde 100644 --- a/Builds/VisualStudio2013/RippleD.vcxproj.filters +++ b/Builds/VisualStudio2013/RippleD.vcxproj.filters @@ -3879,6 +3879,9 @@ ripple\rpc\impl + + ripple\rpc\impl + ripple\rpc\impl diff --git a/src/ripple/rpc/handlers/AccountTx.cpp b/src/ripple/rpc/handlers/AccountTx.cpp index 6b2603e6d..a982d942e 100644 --- a/src/ripple/rpc/handlers/AccountTx.cpp +++ b/src/ripple/rpc/handlers/AccountTx.cpp @@ -18,6 +18,7 @@ //============================================================================== #include +#include #include namespace ripple { diff --git a/src/ripple/rpc/handlers/Tx.cpp b/src/ripple/rpc/handlers/Tx.cpp index d0f5021cd..1cf9313ff 100644 --- a/src/ripple/rpc/handlers/Tx.cpp +++ b/src/ripple/rpc/handlers/Tx.cpp @@ -19,6 +19,7 @@ #include #include +#include namespace ripple { diff --git a/src/ripple/rpc/impl/Utilities.cpp b/src/ripple/rpc/impl/Utilities.cpp index 187d0ee97..62dbb94ea 100644 --- a/src/ripple/rpc/impl/Utilities.cpp +++ b/src/ripple/rpc/impl/Utilities.cpp @@ -17,6 +17,8 @@ */ //============================================================================== +#include + namespace ripple { namespace RPC { diff --git a/src/ripple/rpc/impl/Utilities.h b/src/ripple/rpc/impl/Utilities.h new file mode 100644 index 000000000..8bc197f00 --- /dev/null +++ b/src/ripple/rpc/impl/Utilities.h @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +/* + This file is part of rippled: https://github.com/ripple/rippled + Copyright (c) 2012, 2013 Ripple Labs Inc. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ +//============================================================================== + +#ifndef RIPPLE_RPC_IMPL_UTILITIES_H_INCLUDED +#define RIPPLE_RPC_IMPL_UTILITIES_H_INCLUDED + +namespace ripple { +namespace RPC { + +void +addPaymentDeliveredAmount ( + Json::Value&, + RPC::Context&, + Transaction::pointer, + TransactionMetaSet::pointer); + +} // RPC +} // ripple + +#endif