25 #ifndef AKREGATOR_KERNEL_H
26 #define AKREGATOR_KERNEL_H
28 #include "articlefilter.h"
45 static Kernel* self();
50 Backend::Storage* storage() { return m_storage; }
51 void setStorage(Backend::Storage* storage) { m_storage = storage; }
53 FeedList* feedList() { return m_feedList; }
54 void setFeedList(FeedList* feedList) { m_feedList = feedList; }
56 FetchQueue* fetchQueue() { return m_fetchQueue; }
58 TagSet* tagSet() { return m_tagSet; }
60 void setArticleFilterList( const Filters::ArticleFilterList& list)
62 m_articleFilterList = list;
65 Filters::ArticleFilterList articleFilterList() const { return m_articleFilterList; }
69 static Kernel* m_self;
71 Backend::Storage* m_storage;
73 FetchQueue* m_fetchQueue;
75 Filters::ArticleFilterList m_articleFilterList;
|