commit e13c3e653d3887f0a736d5da36bc367cac69755a Author: U-Lama\Lee Date: Wed Dec 28 14:36:55 2011 -0800 initial checkin diff --git a/tinyxml2.cpp b/tinyxml2.cpp new file mode 100644 index 0000000..eac36f9 --- /dev/null +++ b/tinyxml2.cpp @@ -0,0 +1,7 @@ +#include "tinyxml2.h"; + + +bool XMLDocument::Parse( const char* str ) +{ + +} diff --git a/tinyxml2.h b/tinyxml2.h new file mode 100644 index 0000000..ce8b4a7 --- /dev/null +++ b/tinyxml2.h @@ -0,0 +1,33 @@ +#ifndef TINYXML2_INCLUDED +#define TINYXML2_INCLUDED + + +namespace tinyxml2 +{ + + +class Element +{ +public: + Element +}; + + +class XMLDocument +{ +public: + XMLDocument(); + + bool Parse( const char* ); + +private: + XMLDocument( const XMLDocument& ); // not implemented +}; + + + + + +}; // tinyxml2 + +#endif // TINYXML2_INCLUDED \ No newline at end of file diff --git a/tinyxml2.sln b/tinyxml2.sln new file mode 100644 index 0000000..7073405 --- /dev/null +++ b/tinyxml2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C++ Express 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyxml2", "tinyxml2\tinyxml2.vcxproj", "{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|Win32.ActiveCfg = Debug|Win32 + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|Win32.Build.0 = Debug|Win32 + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|Win32.ActiveCfg = Release|Win32 + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tinyxml2.suo b/tinyxml2.suo new file mode 100644 index 0000000..05dfa1e Binary files /dev/null and b/tinyxml2.suo differ diff --git a/tinyxml2/tinyxml2.vcxproj b/tinyxml2/tinyxml2.vcxproj new file mode 100644 index 0000000..a12f535 --- /dev/null +++ b/tinyxml2/tinyxml2.vcxproj @@ -0,0 +1,86 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {16A1D446-5415-444E-A7B4-F35B7DA7EE8C} + Win32Proj + tinyxml2 + + + + Application + true + Unicode + + + Application + false + true + Unicode + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + true + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/tinyxml2/tinyxml2.vcxproj.filters b/tinyxml2/tinyxml2.vcxproj.filters new file mode 100644 index 0000000..37eabf3 --- /dev/null +++ b/tinyxml2/tinyxml2.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + + + Source Files + + + Source Files + + + + + Source Files + + + \ No newline at end of file diff --git a/xmltest.cpp b/xmltest.cpp new file mode 100644 index 0000000..c8ef227 --- /dev/null +++ b/xmltest.cpp @@ -0,0 +1,17 @@ +#include "tinyxml2.h" + +#include +#include + +using namespace tinyxml2; + +int main( int argc, const char* argv ) +{ + static const char* test = ""; + + XMLDocument doc; + doc.Parse( test ); + doc.Print( stdout ); + + return 0; +} \ No newline at end of file