summaryrefslogtreecommitdiff
path: root/cli/options.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-04 10:04:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-04 10:04:34 +0200
commitb0cbea713f15e511630d2626c4694f119206dc94 (patch)
tree340c55eb7c946034387839297c62a576123afab3 /cli/options.hxx
parent9f995b41e72b25c0c7ffe8e2568e166d86f27bcc (diff)
Add options for various include settings
--include-with-brackets --include-prefix --guard-prefix
Diffstat (limited to 'cli/options.hxx')
-rw-r--r--cli/options.hxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/cli/options.hxx b/cli/options.hxx
index 2594947..e2c0109 100644
--- a/cli/options.hxx
+++ b/cli/options.hxx
@@ -2,8 +2,8 @@
// compiler for C++.
//
-#ifndef OPTIONS_HXX
-#define OPTIONS_HXX
+#ifndef CLI_OPTIONS_HXX
+#define CLI_OPTIONS_HXX
#include <iosfwd>
#include <string>
@@ -225,6 +225,15 @@ class options
std::string const&
cxx_suffix () const;
+ bool const&
+ include_with_brackets () const;
+
+ std::string const&
+ include_prefix () const;
+
+ std::string const&
+ guard_prefix () const;
+
private:
int
_parse (int start,
@@ -241,8 +250,11 @@ class options
std::string hxx_suffix_;
std::string ixx_suffix_;
std::string cxx_suffix_;
+ bool include_with_brackets_;
+ std::string include_prefix_;
+ std::string guard_prefix_;
};
#include "options.ixx"
-#endif // OPTIONS_HXX
+#endif // CLI_OPTIONS_HXX