mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
FeedReader plugin:
- added new classes for XML/HTML parse and modify - added basic error handling - added new GUI for a preview and a tree to show the structure of the page (will be continued) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
acaefada65
commit
f51af0d4de
24 changed files with 1959 additions and 509 deletions
|
@ -43,8 +43,7 @@ public:
|
|||
DOWNLOAD_ERROR,
|
||||
DOWNLOAD_UNKNOWN_CONTENT_TYPE,
|
||||
DOWNLOAD_NOT_FOUND,
|
||||
DOWNLOAD_UNKOWN_RESPONSE_CODE,
|
||||
DOWNLOAD_INTERNAL_ERROR
|
||||
DOWNLOAD_UNKOWN_RESPONSE_CODE
|
||||
};
|
||||
enum ProcessResult
|
||||
{
|
||||
|
@ -54,9 +53,11 @@ public:
|
|||
};
|
||||
|
||||
public:
|
||||
p3FeedReaderThread(p3FeedReader *feedReader, Type type);
|
||||
p3FeedReaderThread(p3FeedReader *feedReader, Type type, const std::string &feedId);
|
||||
virtual ~p3FeedReaderThread();
|
||||
|
||||
std::string getFeedId() { return mFeedId; }
|
||||
|
||||
private:
|
||||
virtual void run();
|
||||
|
||||
|
@ -68,7 +69,7 @@ private:
|
|||
|
||||
p3FeedReader *mFeedReader;
|
||||
Type mType;
|
||||
/*xmlCharEncodingHandlerPtr*/ void *mCharEncodingHandler;
|
||||
std::string mFeedId;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue