Fixed load/save config of FeedReader plugin

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-09-28 22:33:17 +00:00
parent 9efc43f41c
commit cef70ef3df
2 changed files with 9 additions and 15 deletions

View file

@ -86,6 +86,13 @@ FeedReaderPlugin::FeedReaderPlugin()
void FeedReaderPlugin::setInterfaces(RsPlugInInterfaces &interfaces)
{
mInterfaces = interfaces;
//Todo: Replace with gxs forums
mFeedReader = new p3FeedReader(mPlugInHandler, NULL /*mInterfaces.mForums*/);
rsFeedReader = mFeedReader;
mNotify = new FeedReaderNotify();
mFeedReader->setNotify(mNotify);
}
ConfigPage *FeedReaderPlugin::qt_config_page() const
@ -110,20 +117,6 @@ FeedNotify *FeedReaderPlugin::qt_feedNotify()
return mFeedNotify;
}
p3Service *FeedReaderPlugin::p3_service() const
{
if (mFeedReader == NULL) {
//Todo: Replace with gxs forums
mFeedReader = new p3FeedReader(mPlugInHandler, NULL /*mInterfaces.mForums*/);
rsFeedReader = mFeedReader;
mNotify = new FeedReaderNotify();
mFeedReader->setNotify(mNotify);
}
return mFeedReader;
}
void FeedReaderPlugin::stop()
{
if (mFeedReader) {