summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-01-24 22:35:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-01-24 22:35:54 (GMT)
commite57b17df7ea01e259cbd74590ebfaff7a32d987d (patch)
tree5cca482fb9f80fefe818c65e7d379c28b24a3fa7 /Source/cmXCodeObject.h
parenta921ccaa2a590d2f83c6e81c1c41093a73d9abb8 (diff)
downloadCMake-e57b17df7ea01e259cbd74590ebfaff7a32d987d.zip
CMake-e57b17df7ea01e259cbd74590ebfaff7a32d987d.tar.gz
CMake-e57b17df7ea01e259cbd74590ebfaff7a32d987d.tar.bz2
ENH: initial xcode stuff
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r--Source/cmXCodeObject.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h
index 0dc6790..819e3a5 100644
--- a/Source/cmXCodeObject.h
+++ b/Source/cmXCodeObject.h
@@ -1,3 +1,6 @@
+#ifndef cmXCodeObject_h
+#define cmXCodeObject_h
+
#include "cmStandardIncludes.h"
class cmXCodeObject
@@ -31,13 +34,14 @@ public:
{
m_List.push_back(value);
}
- void Indent(int level, std::ostream& out);
+ static void Indent(int level, std::ostream& out);
void Print(std::ostream& out);
- static void PrintAll(std::ostream& out);
+ static void PrintList(std::vector<cmXCodeObject*> const&, std::ostream& out);
const char* GetId()
{
return m_Id.c_str();
}
+private:
Type m_Type;
cmStdString m_Id;
PBXType m_IsA;
@@ -45,5 +49,5 @@ public:
std::vector<cmXCodeObject*> m_List;
std::map<cmStdString, cmXCodeObject*> m_ObjectAttributes;
std::map<cmStdString, cmStdString> m_StringAttributes;
- static std::vector<cmXCodeObject*> s_AllObjects;
};
+#endif