Added service pointer for forums to the plugin interface.

FeedReader:
- Used the forums pointer from the plugin interface instead of the global pointer

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-01-03 15:05:48 +00:00
parent 2a9a6f8a75
commit 76b3ccc1a5
6 changed files with 109 additions and 85 deletions

View file

@ -33,7 +33,7 @@ class p3FeedReaderThread;
class p3FeedReader : public RsPQIService, public RsFeedReader
{
public:
p3FeedReader(RsPluginHandler *pgHandler);
p3FeedReader(RsPluginHandler *pgHandler, RsForums *forums);
/****************** FeedReader Interface *************/
virtual void stop();
@ -97,6 +97,7 @@ private:
void stopPreviewThreads_locked();
time_t mLastClean;
RsForums *mForums;
RsFeedReaderNotify *mNotify;
RsMutex mFeedReaderMtx;