diff options
Diffstat (limited to 'examples/imapresource/imapresource.h')
-rw-r--r-- | examples/imapresource/imapresource.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/imapresource/imapresource.h b/examples/imapresource/imapresource.h index 684a3c9..216c6c5 100644 --- a/examples/imapresource/imapresource.h +++ b/examples/imapresource/imapresource.h | |||
@@ -25,9 +25,6 @@ | |||
25 | 25 | ||
26 | #include <flatbuffers/flatbuffers.h> | 26 | #include <flatbuffers/flatbuffers.h> |
27 | 27 | ||
28 | //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA | ||
29 | #define PLUGIN_NAME "sink.imap" | ||
30 | |||
31 | class ImapMailAdaptorFactory; | 28 | class ImapMailAdaptorFactory; |
32 | class ImapFolderAdaptorFactory; | 29 | class ImapFolderAdaptorFactory; |
33 | 30 | ||
@@ -63,8 +60,8 @@ public: | |||
63 | ImapResourceFactory(QObject *parent = 0); | 60 | ImapResourceFactory(QObject *parent = 0); |
64 | 61 | ||
65 | Sink::Resource *createResource(const Sink::ResourceContext &resourceContext) Q_DECL_OVERRIDE; | 62 | Sink::Resource *createResource(const Sink::ResourceContext &resourceContext) Q_DECL_OVERRIDE; |
66 | void registerFacades(Sink::FacadeFactory &factory) Q_DECL_OVERRIDE; | 63 | void registerFacades(const QByteArray &name, Sink::FacadeFactory &factory) Q_DECL_OVERRIDE; |
67 | void registerAdaptorFactories(Sink::AdaptorFactoryRegistry ®istry) Q_DECL_OVERRIDE; | 64 | void registerAdaptorFactories(const QByteArray &name, Sink::AdaptorFactoryRegistry ®istry) Q_DECL_OVERRIDE; |
68 | void removeDataFromDisk(const QByteArray &instanceIdentifier) Q_DECL_OVERRIDE; | 65 | void removeDataFromDisk(const QByteArray &instanceIdentifier) Q_DECL_OVERRIDE; |
69 | }; | 66 | }; |
70 | 67 | ||