aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-07-21 00:14:25 +0800
committerLiana Husikyan <liana@ethdev.com>2015-08-10 18:45:12 +0800
commit96fb0f4534d0fe031747b0481bc51bb85c8d202c (patch)
treed698254b2bb106cbd94547b735042613e45eee27
parent6f97fb257680a20050580f4feb4c350634052f95 (diff)
downloaddexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.tar
dexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.tar.gz
dexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.tar.bz2
dexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.tar.lz
dexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.tar.xz
dexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.tar.zst
dexon-solidity-96fb0f4534d0fe031747b0481bc51bb85c8d202c.zip
changed output method for all components
-rw-r--r--CommandLineInterface.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/CommandLineInterface.h b/CommandLineInterface.h
index ab389ed0..715f381b 100644
--- a/CommandLineInterface.h
+++ b/CommandLineInterface.h
@@ -45,7 +45,7 @@ public:
CommandLineInterface() {}
/// Parse command line arguments and return false if we should not continue
- bool parseArguments(int argc, char** argv);
+ bool parseArguments(int _argc, char** _argv);
/// Parse the files and create source code objects
bool processInput();
/// Perform actions on the input depending on provided compiler arguments
@@ -62,6 +62,12 @@ private:
std::string const& _contract);
void handleGasEstimation(std::string const& _contract);
+
+ /// Create a file in the given directory
+ /// @arg _fileName the name of the file
+ /// @arg _data to be written
+ void createFile(std::string const& _fileName, std::string const& _data = "");
+
/// Compiler arguments variable map
boost::program_options::variables_map m_args;
/// map of input files to source code strings