aboutsummaryrefslogtreecommitdiffstats
path: root/InterfaceHandler.h
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-02-21 04:56:37 +0800
committerGav Wood <i@gavwood.com>2015-02-21 04:56:37 +0800
commit89d84edb16812ff9e4b1049ee0257d65c75f5a3c (patch)
treebaeda13e44a8fc0f6ac2f705fdf334da14405f39 /InterfaceHandler.h
parentd552ceb50f8e3888abf5b9a6095a5fb60ee91b5f (diff)
parent852405116654bda9f4dc1d4876a2368184b30a8c (diff)
downloaddexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.tar
dexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.tar.gz
dexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.tar.bz2
dexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.tar.lz
dexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.tar.xz
dexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.tar.zst
dexon-solidity-89d84edb16812ff9e4b1049ee0257d65c75f5a3c.zip
Merge branch 'develop'
Conflicts: README.md evmjit libdevcrypto/CryptoPP.cpp libethereum/State.cpp neth/main.cpp
Diffstat (limited to 'InterfaceHandler.h')
-rw-r--r--InterfaceHandler.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/InterfaceHandler.h b/InterfaceHandler.h
index c8399d71..6aa3f72d 100644
--- a/InterfaceHandler.h
+++ b/InterfaceHandler.h
@@ -28,7 +28,7 @@
#include <string>
#include <memory>
-#include <jsoncpp/json/json.h>
+#include <json/json.h>
namespace dev
{
@@ -41,19 +41,19 @@ enum class DocumentationType: uint8_t;
enum class DocTagType: uint8_t
{
- NONE = 0,
- DEV,
- NOTICE,
- PARAM,
- RETURN,
- AUTHOR,
- TITLE
+ None = 0,
+ Dev,
+ Notice,
+ Param,
+ Return,
+ Author,
+ Title
};
enum class CommentOwner
{
- CONTRACT,
- FUNCTION
+ Contract,
+ Function
};
class InterfaceHandler
@@ -74,6 +74,7 @@ public:
/// @return A unique pointer contained string with the json
/// representation of the contract's ABI Interface
std::unique_ptr<std::string> getABIInterface(ContractDefinition const& _contractDef);
+ std::unique_ptr<std::string> getABISolidityInterface(ContractDefinition const& _contractDef);
/// Get the User documentation of the contract
/// @param _contractDef The contract definition
/// @return A unique pointer contained string with the json