DHCOM_HAL
Hardware-abstraction library (HAL) for multiple targets, including DHCOM modules
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Macros Pages
Macros
DHCOM_HAL.h File Reference

Exports definitions. More...

Go to the source code of this file.

Macros

#define DHCOM_HAL   __declspec(dllimport)
 

Detailed Description

Exports definitions.

DHCOM_HAL macro is preceding every public class declaration in the library.

The idea is that on Windows systems with MSVC compiler this macro will be automatically defined as __declspec(dllimport) for linking to the library.

For building the library the macro must be defined as __declspec(dllexport). The build script DHCOM_HAL.pro for Qt qmake, supplied with the library does this definition automatically. For manual compiling of the library on Windows - do the /D "DHCOM_HAL=__declspec(dllexport)" in compiler command line.

Macro Definition Documentation

#define DHCOM_HAL   __declspec(dllimport)