AcImportXml.h 909 B

1234567891011121314151617181920212223242526
  1. //
  2. //////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright 2015 Autodesk, Inc. All rights reserved.
  5. //
  6. // Use of this software is subject to the terms of the Autodesk license
  7. // agreement provided at the time of installation or download, or which
  8. // otherwise accompanies this software in either electronic or hard copy form.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. #include "adesk.h"
  13. #ifdef _ADESK_WINDOWS_
  14. #ifndef AC_DO_NO_IMPORT
  15. #pragma warning (push)
  16. #pragma warning(disable : 4279)
  17. #pragma warning(disable : 4192)
  18. #import "msxml6.dll" named_guids rename_namespace("MSXML") rename("offset", "MSXMLoffset")
  19. #pragma warning (pop)
  20. #else // AC_DO_NO_IMPORT
  21. #include "msxml6.tlh"
  22. #endif
  23. __declspec(selectany) extern const GUID CLSID_DOMDocumentAcad = MSXML::CLSID_DOMDocument60;
  24. #endif // _ADESK_WINDOWS_