summaryrefslogtreecommitdiff
path: root/cli/runtime-header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/runtime-header.cxx')
-rw-r--r--cli/runtime-header.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx
index 9d200bc..2b01071 100644
--- a/cli/runtime-header.cxx
+++ b/cli/runtime-header.cxx
@@ -415,6 +415,9 @@ generate_runtime_header (context& ctx)
<< "const std::string& option," << endl
<< "bool erase = false);"
<< endl
+ << "argv_file_scanner (const std::string& file," << endl
+ << "const std::string& option);"
+ << endl
<< "struct option_info"
<< "{"
<< "// If search_func is not NULL, it is called, with the arg" << endl
@@ -438,6 +441,10 @@ generate_runtime_header (context& ctx)
<< "std::size_t options_count," << endl
<< "bool erase = false);"
<< endl
+ << "argv_file_scanner (const std::string& file," << endl
+ << "const option_info* options = 0," << endl
+ << "std::size_t options_count = 0);"
+ << endl
<< "virtual bool" << endl
<< "more ();"
<< endl
@@ -475,7 +482,9 @@ generate_runtime_header (context& ctx)
os << endl
<< "bool skip_;";
- os << "};";
+ os << endl
+ << "static int zero_argc_;"
+ << "};";
}
// group_scanner