Add pugixml-1.4 to contrib
[ipdf/code.git] / contrib / pugixml-1.4 / src / pugiconfig.hpp
diff --git a/contrib/pugixml-1.4/src/pugiconfig.hpp b/contrib/pugixml-1.4/src/pugiconfig.hpp
new file mode 100644 (file)
index 0000000..39550f6
--- /dev/null
@@ -0,0 +1,72 @@
+/**\r
+ * pugixml parser - version 1.4\r
+ * --------------------------------------------------------\r
+ * Copyright (C) 2006-2014, by Arseny Kapoulkine ([email protected])\r
+ * Report bugs and download new versions at http://pugixml.org/\r
+ *\r
+ * This library is distributed under the MIT License. See notice at the end\r
+ * of this file.\r
+ *\r
+ * This work is based on the pugxml parser, which is:\r
+ * Copyright (C) 2003, by Kristen Wegner ([email protected])\r
+ */\r
+\r
+#ifndef HEADER_PUGICONFIG_HPP\r
+#define HEADER_PUGICONFIG_HPP\r
+\r
+// Uncomment this to enable wchar_t mode\r
+// #define PUGIXML_WCHAR_MODE\r
+\r
+// Uncomment this to disable XPath\r
+// #define PUGIXML_NO_XPATH\r
+\r
+// Uncomment this to disable STL\r
+// #define PUGIXML_NO_STL\r
+\r
+// Uncomment this to disable exceptions\r
+// #define PUGIXML_NO_EXCEPTIONS\r
+\r
+// Set this to control attributes for public classes/functions, i.e.:\r
+// #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL\r
+// #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL\r
+// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall\r
+// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead\r
+\r
+// Tune these constants to adjust memory-related behavior\r
+// #define PUGIXML_MEMORY_PAGE_SIZE 32768\r
+// #define PUGIXML_MEMORY_OUTPUT_STACK 10240\r
+// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096\r
+\r
+// Uncomment this to switch to header-only version\r
+// #define PUGIXML_HEADER_ONLY\r
+// #include "pugixml.cpp"\r
+\r
+// Uncomment this to enable long long support\r
+// #define PUGIXML_HAS_LONG_LONG\r
+\r
+#endif\r
+\r
+/**\r
+ * Copyright (c) 2006-2014 Arseny Kapoulkine\r
+ *\r
+ * Permission is hereby granted, free of charge, to any person\r
+ * obtaining a copy of this software and associated documentation\r
+ * files (the "Software"), to deal in the Software without\r
+ * restriction, including without limitation the rights to use,\r
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell\r
+ * copies of the Software, and to permit persons to whom the\r
+ * Software is furnished to do so, subject to the following\r
+ * conditions:\r
+ *\r
+ * The above copyright notice and this permission notice shall be\r
+ * included in all copies or substantial portions of the Software.\r
+ * \r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\r
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\r
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\r
+ * OTHER DEALINGS IN THE SOFTWARE.\r
+ */\r

UCC git Repository :: git.ucc.asn.au