diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-01-24 22:35:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-01-24 22:35:54 (GMT) |
commit | e57b17df7ea01e259cbd74590ebfaff7a32d987d (patch) | |
tree | 5cca482fb9f80fefe818c65e7d379c28b24a3fa7 /Source/cmXCodeObject.h | |
parent | a921ccaa2a590d2f83c6e81c1c41093a73d9abb8 (diff) | |
download | CMake-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.h | 10 |
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 |