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

Import/export macro for the savefile library, plus the central list of QObject types kept deliberately opaque to QML. More...

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

Go to the source code of this file.

Macros

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

Detailed Description

Import/export macro for the savefile library, plus the central list of QObject types kept deliberately opaque to QML.

Two jobs: define SAVEFILE_AUTOPORT (dllexport/dllimport, like every layer's autoport header), and declare the save-tree QObject pointers that QML never traverses as opaque – a build-time optimisation explained in detail below.

Definition in file savefile_autoport.h.

Macro Definition Documentation

◆ SAVEFILE_AUTOPORT

#define SAVEFILE_AUTOPORT   Q_DECL_IMPORT

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

Definition at line 38 of file savefile_autoport.h.