summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLWriter.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-02-24 12:04:21 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-02-28 21:27:21 (GMT)
commit6a54d28e44c3e539a0f6b45a5bdd748df5ef29ca (patch)
tree3d6959f9ea74c4d55c0487f5ec762052b3b98473 /Source/cmXMLWriter.h
parent78104bd7bca4bd9b4b7a5c17622838a33843138e (diff)
downloadCMake-6a54d28e44c3e539a0f6b45a5bdd748df5ef29ca.zip
CMake-6a54d28e44c3e539a0f6b45a5bdd748df5ef29ca.tar.gz
CMake-6a54d28e44c3e539a0f6b45a5bdd748df5ef29ca.tar.bz2
Xcode: Use proper indentation for schemes
Diffstat (limited to 'Source/cmXMLWriter.h')
-rw-r--r--Source/cmXMLWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmXMLWriter.h b/Source/cmXMLWriter.h
index 904f73b..6d1e6b4 100644
--- a/Source/cmXMLWriter.h
+++ b/Source/cmXMLWriter.h
@@ -60,6 +60,8 @@ public:
void FragmentFile(const char* fname);
+ void SetIndentationElement(std::string const& element);
+
private:
cmXMLWriter(const cmXMLWriter&);
cmXMLWriter& operator=(const cmXMLWriter&);
@@ -107,6 +109,7 @@ private:
private:
std::ostream& Output;
std::stack<std::string, std::vector<std::string> > Elements;
+ std::string IndentationElement;
std::size_t Level;
bool ElementOpen;
bool BreakAttrib;