From d5b4d64ca0609f65cda606d1456f4040ff008cda Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 9 Feb 2016 16:14:31 +0100 Subject: Use Sink instead of SinkCommon --- common/domain/applicationdomaintype.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'common/domain') diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index ce35af0..858049c 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h @@ -19,7 +19,7 @@ */ #pragma once -#include "sinkcommon_export.h" +#include "sink_export.h" #include #include #include @@ -37,7 +37,7 @@ namespace ApplicationDomain { * * ApplicationDomainTypes don't adhere to any standard and are meant to be extended frequently (hence the non-typesafe interface). */ -class SINKCOMMON_EXPORT ApplicationDomainType { +class SINK_EXPORT ApplicationDomainType { public: typedef QSharedPointer Ptr; @@ -96,37 +96,37 @@ inline QDebug operator<< (QDebug d, const ApplicationDomainType &type) return d; } -struct SINKCOMMON_EXPORT Entity : public ApplicationDomainType { +struct SINK_EXPORT Entity : public ApplicationDomainType { typedef QSharedPointer Ptr; using ApplicationDomainType::ApplicationDomainType; virtual ~Entity(); }; -struct SINKCOMMON_EXPORT Event : public Entity { +struct SINK_EXPORT Event : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; virtual ~Event(); }; -struct SINKCOMMON_EXPORT Todo : public Entity { +struct SINK_EXPORT Todo : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; virtual ~Todo(); }; -struct SINKCOMMON_EXPORT Calendar : public Entity { +struct SINK_EXPORT Calendar : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; virtual ~Calendar(); }; -struct SINKCOMMON_EXPORT Mail : public Entity { +struct SINK_EXPORT Mail : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; virtual ~Mail(); }; -struct SINKCOMMON_EXPORT Folder : public Entity { +struct SINK_EXPORT Folder : public Entity { typedef QSharedPointer Ptr; using Entity::Entity; virtual ~Folder(); @@ -138,7 +138,7 @@ struct SINKCOMMON_EXPORT Folder : public Entity { * This type is used for configuration of resources, * and for creating and removing resource instances. */ -struct SINKCOMMON_EXPORT SinkResource : public ApplicationDomainType { +struct SINK_EXPORT SinkResource : public ApplicationDomainType { typedef QSharedPointer Ptr; using ApplicationDomainType::ApplicationDomainType; virtual ~SinkResource(); @@ -150,22 +150,22 @@ struct SINKCOMMON_EXPORT SinkResource : public ApplicationDomainType { * Do not store these types to disk, they may change over time. */ template -QByteArray SINKCOMMON_EXPORT getTypeName(); +QByteArray SINK_EXPORT getTypeName(); template<> -QByteArray SINKCOMMON_EXPORT getTypeName(); +QByteArray SINK_EXPORT getTypeName(); template<> -QByteArray SINKCOMMON_EXPORT getTypeName(); +QByteArray SINK_EXPORT getTypeName(); template<> -QByteArray SINKCOMMON_EXPORT getTypeName(); +QByteArray SINK_EXPORT getTypeName(); template<> -QByteArray SINKCOMMON_EXPORT getTypeName(); +QByteArray SINK_EXPORT getTypeName(); template<> -QByteArray SINKCOMMON_EXPORT getTypeName(); +QByteArray SINK_EXPORT getTypeName(); /** * Type implementation. @@ -174,7 +174,7 @@ QByteArray SINKCOMMON_EXPORT getTypeName(); * Contains all non-resource specific, but type-specific code. */ template -class SINKCOMMON_EXPORT TypeImplementation; +class SINK_EXPORT TypeImplementation; } } -- cgit v1.2.3