diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-16 08:33:37 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-16 08:33:37 +0100 |
commit | 34f9a1e827e37f7172d9ebea3e511e1349da1f7e (patch) | |
tree | e245ec2db95d6b2e9835d313f4fa3cece774d814 /common/clientapi.h | |
parent | ed7fdbcf6beb40960cf91555ae1d506278b852d8 (diff) | |
download | sink-34f9a1e827e37f7172d9ebea3e511e1349da1f7e.tar.gz sink-34f9a1e827e37f7172d9ebea3e511e1349da1f7e.zip |
split out the resource bits into their own file
Diffstat (limited to 'common/clientapi.h')
-rw-r--r-- | common/clientapi.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index 3531462..88cdfcb 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -435,31 +435,5 @@ public: | |||
435 | } | 435 | } |
436 | }; | 436 | }; |
437 | 437 | ||
438 | class Resource | ||
439 | { | ||
440 | public: | ||
441 | Resource(); | ||
442 | virtual ~Resource(); | ||
443 | |||
444 | private: | ||
445 | class Private; | ||
446 | Private * const d; | ||
447 | }; | ||
448 | |||
449 | class ResourceFactory : public QObject | ||
450 | { | ||
451 | public: | ||
452 | ResourceFactory(QObject *parent); | ||
453 | virtual ~ResourceFactory(); | ||
454 | |||
455 | virtual Resource *createResource() = 0; | ||
456 | virtual void registerFacade(FacadeFactory &factory) = 0; | ||
457 | |||
458 | private: | ||
459 | class Private; | ||
460 | Private * const d; | ||
461 | }; | ||
462 | } | 438 | } |
463 | 439 | ||
464 | Q_DECLARE_INTERFACE(Akonadi2::ResourceFactory, "org.kde.akonadi2.resourcefactory") | ||
465 | |||