mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
Changes to WikiDialog GUI to convert to Request / Response data model.
Also: - modified TokenQueue to include MSGRELATEDLIST & new Request Options. - updated PhotoDialog to include new Options for requests. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a27cecc522
commit
de8f4f283c
7 changed files with 590 additions and 38 deletions
|
@ -39,7 +39,8 @@
|
|||
#define TOKENREQ_GROUPLIST 1
|
||||
#define TOKENREQ_GROUPDATA 2
|
||||
#define TOKENREQ_MSGLIST 3
|
||||
#define TOKENREQ_MSGDATA 4
|
||||
#define TOKENREQ_MSGRELATEDLIST 4
|
||||
#define TOKENREQ_MSGDATA 5
|
||||
|
||||
|
||||
class TokenQueue;
|
||||
|
@ -71,7 +72,7 @@ public:
|
|||
TokenQueue(RsTokenService *service, TokenResponse *resp);
|
||||
|
||||
/* generic handling of token / response update behaviour */
|
||||
bool genericRequest(uint32_t basictype, std::list<std::string> ids, uint32_t usertype);
|
||||
bool genericRequest(uint32_t basictype, const RsTokReqOptions &opt, std::list<std::string> ids, uint32_t usertype);
|
||||
void queueRequest(uint32_t token, uint32_t basictype, uint32_t usertype);
|
||||
bool checkForRequest(uint32_t token);
|
||||
void loadRequest(const TokenRequest &req);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue