Changeset 456 in flair-src for trunk/lib/FlairCore/src/unexported
- Timestamp:
- Oct 6, 2021, 11:03:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/unexported/ui_com.h
r445 r456 51 51 void CheckConnection(void); 52 52 private: 53 //datasToSend and resumeTimes are pushed/pop together 53 54 std::vector<const flair::gui::SendData *> datasToSend; 54 55 std::vector<flair::core::Time> resumeTimes; … … 61 62 void SendNRT(char *buf, ssize_t size,int ttl); 62 63 void PushDatasToSend(const flair::gui::SendData *dataToSend); 64 void UpdateResumeTime(const flair::gui::SendData *obj);//must be called with mutex locked 63 65 typedef struct { 64 66 char* buf; … … 69 71 } PushedData_t; 70 72 std::vector<PushedData_t> pushedDatas; 73 size_t CalcBufferSize(const PushedData_t* ptr) const;//must be called with mutex locked 74 PushedData_t* GetCorrespondingPushedData(const flair::gui::SendData *dataToSend);//returns null if no corresponding buffer 75 void AddPushedData(const flair::gui::SendData *obj); 76 71 77 72 78 static int compressBuffer(char *in, ssize_t in_size, char **out,
Note:
See TracChangeset
for help on using the changeset viewer.