summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-24 09:19:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-24 09:19:21 +0200
commitf47270cea65545f946ff301014cb09bd5ff40261 (patch)
tree3e25556caf7456f60227764f85d89d11d48345e0
parentfd1df5b224fab4e4244446ae10d96392b7aa9935 (diff)
downloadsink-f47270cea65545f946ff301014cb09bd5ff40261.tar.gz
sink-f47270cea65545f946ff301014cb09bd5ff40261.zip
create macro
-rw-r--r--common/domain/applicationdomaintype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index 1b0ae9d..c022cb4 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -32,6 +32,7 @@
32 typedef QSharedPointer<TYPE> Ptr; \ 32 typedef QSharedPointer<TYPE> Ptr; \
33 using Entity::Entity; \ 33 using Entity::Entity; \
34 virtual ~TYPE(); \ 34 virtual ~TYPE(); \
35 static TYPE create(const QByteArray &resource) { return createEntity<TYPE>(resource); }; \
35 36
36 37
37#define SINK_PROPERTY(TYPE, NAME, LOWERCASENAME) \ 38#define SINK_PROPERTY(TYPE, NAME, LOWERCASENAME) \