diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-05-31 20:16:23 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-05-31 20:16:23 +0200 |
commit | e297fb92c2c0e344d36e0aef57921f6b9b921a61 (patch) | |
tree | ab36c3a121f3f132235ed3eafb5eb5d767c77b3b /common/domain/applicationdomaintype.h | |
parent | 0815156ef93cb9f48073a777b888ed47b579d695 (diff) | |
download | sink-e297fb92c2c0e344d36e0aef57921f6b9b921a61.tar.gz sink-e297fb92c2c0e344d36e0aef57921f6b9b921a61.zip |
Moved default read/write property mapper to TypeImplementation
There is always exactly one default buffer that we can centralize
in TypeImplementation.
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r-- | common/domain/applicationdomaintype.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 2de1460..f2a4ad6 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -130,5 +130,14 @@ QByteArray getTypeName<Todo>(); | |||
130 | template<> | 130 | template<> |
131 | QByteArray getTypeName<AkonadiResource>(); | 131 | QByteArray getTypeName<AkonadiResource>(); |
132 | 132 | ||
133 | /** | ||
134 | * Type implementation. | ||
135 | * | ||
136 | * Needs to be implemented for every application domain type. | ||
137 | * Contains all non-resource specific, but type-specific code. | ||
138 | */ | ||
139 | template<typename DomainType> | ||
140 | class TypeImplementation; | ||
141 | |||
133 | } | 142 | } |
134 | } | 143 | } |