Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
Loading...
Searching...
No Matches
common_autoport.h File Reference

Shared-library import/export macro for the common library. More...

#include <QtCore/qglobal.h>
Include dependency graph for common_autoport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COMMON_AUTOPORT   Q_DECL_IMPORT
 Expands to the correct dllexport/dllimport decoration for this library.

Detailed Description

Shared-library import/export macro for the common library.

Each sub-library (common, db, savefile) carries one of these "autoport" headers. When the library is being built, COMMON_LIBRARY is defined and its public symbols are marked Q_DECL_EXPORT; when another target consumes the library, the same symbols resolve to Q_DECL_IMPORT. Classes opt in by tagging their declaration with the COMMON_AUTOPORT macro (e.g. class COMMON_AUTOPORT Utility ...).

Definition in file common_autoport.h.

Macro Definition Documentation

◆ COMMON_AUTOPORT

#define COMMON_AUTOPORT   Q_DECL_IMPORT

Expands to the correct dllexport/dllimport decoration for this library.

Definition at line 38 of file common_autoport.h.