Annotation: Add export macros

Change-Id: Ieebc2750462bc6266e11318ea96c031b2ea6ef9f
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Michael Winkelmann
2020-08-19 11:10:55 +02:00
parent 150d29a8fd
commit a638c25252

View File

@@ -29,6 +29,7 @@
#include <QDebug>
#include <QDataStream>
#include "qmldesignercorelib_global.h"
#include "nodeinstanceglobal.h"
namespace QmlDesigner {
@@ -38,7 +39,7 @@ static const PropertyName annotationProperty = {("annotation")};
static const PropertyName globalAnnotationProperty = {("globalAnnotation")};
static const PropertyName globalAnnotationStatus = {("globalAnnotationStatus")};
class GlobalAnnotationStatus
class QMLDESIGNERCORE_EXPORT GlobalAnnotationStatus
{
public:
enum Status {
@@ -64,7 +65,7 @@ private:
Status m_status;
};
class Comment
class QMLDESIGNERCORE_EXPORT Comment
{
public:
Comment();
@@ -109,7 +110,7 @@ private:
qint64 m_timestamp;
};
class Annotation
class QMLDESIGNERCORE_EXPORT Annotation
{
public:
Annotation();