diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-08 15:24:37 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-08 15:24:37 +0100 |
commit | 5255876dde678aa7d5af8020d5836b1fc6c58fc7 (patch) | |
tree | f11a954b784418e76d73b29c3e8b44ececa511bb /common/resourcecontrol.cpp | |
parent | ae4b64b198a143240aa5dd1e202e5016abfdae71 (diff) | |
download | sink-5255876dde678aa7d5af8020d5836b1fc6c58fc7.tar.gz sink-5255876dde678aa7d5af8020d5836b1fc6c58fc7.zip |
Let the preprocessor repeat the types.
Diffstat (limited to 'common/resourcecontrol.cpp')
-rw-r--r-- | common/resourcecontrol.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/resourcecontrol.cpp b/common/resourcecontrol.cpp index f885deb..c1fbf06 100644 --- a/common/resourcecontrol.cpp +++ b/common/resourcecontrol.cpp | |||
@@ -158,9 +158,6 @@ KAsync::Job<void> ResourceControl::inspect(const Inspection &inspectionCommand) | |||
158 | 158 | ||
159 | #define REGISTER_TYPE(T) template KAsync::Job<void> ResourceControl::inspect<T>(const Inspection &); | 159 | #define REGISTER_TYPE(T) template KAsync::Job<void> ResourceControl::inspect<T>(const Inspection &); |
160 | 160 | ||
161 | REGISTER_TYPE(ApplicationDomain::Event); | 161 | SINK_REGISTER_TYPES() |
162 | REGISTER_TYPE(ApplicationDomain::Mail); | ||
163 | REGISTER_TYPE(ApplicationDomain::Folder); | ||
164 | REGISTER_TYPE(ApplicationDomain::SinkResource); | ||
165 | 162 | ||
166 | } // namespace Sink | 163 | } // namespace Sink |