MvInclude.h 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef _MV_INCLUDE_H_
  2. #define _MV_INCLUDE_H_
  3. #include "CameraParams.h"
  4. /**
  5. * @brief ¶¯Ì¬¿âµ¼Èëµ¼³ö¶¨Òå
  6. * @brief Import and export of dynamic link library definition
  7. */
  8. #ifndef MV_CAMCTRL_API
  9. #ifdef WIN32
  10. #if defined(MV_CAMCTRL_EXPORTS)
  11. #define MV_CAMCTRL_API __declspec(dllexport)
  12. #else
  13. #define MV_CAMCTRL_API __declspec(dllimport)
  14. #endif
  15. #else
  16. #ifndef __stdcall
  17. #define __stdcall
  18. #endif
  19. #ifndef MV_CAMCTRL_API
  20. #define MV_CAMCTRL_API
  21. #endif
  22. #endif
  23. #endif
  24. #ifdef WIN32
  25. #include <objbase.h> // interface
  26. #else
  27. #define interface struct
  28. #endif
  29. namespace MvCamCtrl
  30. {
  31. typedef void ITransportLayer;
  32. typedef void* TlProxy;
  33. class MvCamera;
  34. class CTlRefs;
  35. class CDevRefs;
  36. }
  37. #endif /* _MV_INCLUDE_H_ */