aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'CommandLineInterface.h')
-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