XmlFileProvider.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //-----------------------------------------------------------------------------
  2. // Basler pylon SDK
  3. // Copyright (c) 2006-2021 Basler AG
  4. // http://www.baslerweb.com
  5. // Author: AH
  6. //-----------------------------------------------------------------------------
  7. /*!
  8. \file
  9. \internal
  10. \brief Declaration of the IXmlFileProvider interface
  11. */
  12. #ifndef __PYLONXMLFILEPROVIDER_H__
  13. #define __PYLONXMLFILEPROVIDER_H__
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif
  17. #include <pylon/Platform.h>
  18. #ifdef _MSC_VER
  19. # pragma pack(push, PYLON_PACKING)
  20. #endif /* _MSC_VER */
  21. #include <pylon/stdinclude.h>
  22. namespace Pylon
  23. {
  24. class CDeviceInfo;
  25. /**
  26. \internal
  27. */
  28. interface PUBLIC_INTERFACE IXmlFileProvider
  29. {
  30. virtual bool CanProvideXmlFile( const CDeviceInfo& ) = 0;
  31. virtual void ProvideXmlFile(
  32. const CDeviceInfo& di,
  33. String_t& RecommendedFileName,
  34. String_t& XmlString
  35. ) = 0;
  36. };
  37. }
  38. #ifdef _MSC_VER
  39. # pragma pack(pop)
  40. #endif /* _MSC_VER */
  41. #endif /* __PYLONXMLFILEPROVIDER_H__ */