mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
FeedReader: Message of a local feed can be added as forum and board message
This commit is contained in:
parent
bcb4e52768
commit
b14fecfc2a
7 changed files with 237 additions and 7 deletions
|
@ -25,8 +25,13 @@
|
|||
#include <inttypes.h>
|
||||
#include <string>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
class RsFeedReader;
|
||||
class RsGxsForums;
|
||||
class RsPosted;
|
||||
class RsGxsForumGroup;
|
||||
class RsPostedGroup;
|
||||
extern RsFeedReader *rsFeedReader;
|
||||
|
||||
enum RsFeedReaderErrorState {
|
||||
|
@ -232,6 +237,11 @@ public:
|
|||
virtual bool retransformMsg(uint32_t feedId, const std::string &msgId) = 0;
|
||||
virtual bool clearMessageCache(uint32_t feedId) = 0;
|
||||
|
||||
virtual RsGxsForums* forums() = 0;
|
||||
virtual RsPosted* posted() = 0;
|
||||
virtual bool getForumGroups(std::vector<RsGxsForumGroup> &groups, bool onlyOwn) = 0;
|
||||
virtual bool getPostedGroups(std::vector<RsPostedGroup> &groups, bool onlyOwn) = 0;
|
||||
|
||||
virtual RsFeedReaderErrorState processXPath(const std::list<std::string> &xpathsToUse, const std::list<std::string> &xpathsToRemove, std::string &description, std::string &errorString) = 0;
|
||||
virtual RsFeedReaderErrorState processXslt(const std::string &xslt, std::string &description, std::string &errorString) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue