mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 15:20:25 -04:00
first pass for converting GxsMessageFrameWidget to blocking API
This commit is contained in:
parent
c18dfb39c3
commit
55c810f848
12 changed files with 420 additions and 221 deletions
|
@ -58,15 +58,22 @@ public:
|
|||
|
||||
protected:
|
||||
void handleEvent_main_thread(std::shared_ptr<const RsEvent> event);
|
||||
void insertAllPostedPosts(const std::vector<RsPostedPost>& posts, GxsMessageFramePostThread *thread) ;
|
||||
void insertPostedPosts(const std::vector<RsPostedPost>& posts);
|
||||
|
||||
/* GxsMessageFramePostWidget */
|
||||
virtual bool insertGroupData(const uint32_t &token, RsGroupMetaData &metaData);
|
||||
virtual void insertAllPosts(const uint32_t &token, GxsMessageFramePostThread *thread);
|
||||
virtual void insertPosts(const uint32_t &token);
|
||||
virtual void clearPosts();
|
||||
virtual void blank();
|
||||
virtual bool navigatePostItem(const RsGxsMessageId& msgId);
|
||||
|
||||
virtual void getMsgData(const std::set<RsGxsMessageId>& msgIds,std::vector<RsGxsGenericMsgData*>& posts) override;
|
||||
virtual void getAllMsgData(std::vector<RsGxsGenericMsgData*>& posts) override;
|
||||
virtual bool getGroupData(RsGxsGenericGroupData*& data) override;
|
||||
|
||||
virtual bool insertGroupData(const RsGxsGenericGroupData *data) override;
|
||||
virtual void insertPosts(const std::vector<RsGxsGenericMsgData*>& posts) override;
|
||||
virtual void insertAllPosts(const std::vector<RsGxsGenericMsgData*>& posts, GxsMessageFramePostThread *thread) override;
|
||||
|
||||
/* GxsMessageFrameWidget */
|
||||
virtual void setAllMessagesReadDo(bool read, uint32_t &token);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue