mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
add tick fn
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
96ce0a8eff
commit
5a2c0a27a2
@ -106,6 +106,11 @@ class RsQblogItem; /* to populate maps of blogs */
|
|||||||
*/
|
*/
|
||||||
bool sort(void);
|
bool sort(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* updates attributes of connected peers
|
||||||
|
*/
|
||||||
|
void tick();
|
||||||
|
|
||||||
// ??
|
// ??
|
||||||
pqistreamer *createStreamer(std::string file, std::string src, bool reading);
|
pqistreamer *createStreamer(std::string file, std::string src, bool reading);
|
||||||
|
|
||||||
@ -141,12 +146,14 @@ class RsQblogItem; /* to populate maps of blogs */
|
|||||||
std::map<std::string, std::string> mPeerStatusSet;
|
std::map<std::string, std::string> mPeerStatusSet;
|
||||||
/// contain usr and their blogs
|
/// contain usr and their blogs
|
||||||
std::map< std::string, std::multimap<long int, std:: string> > mUsrBlogSet;
|
std::map< std::string, std::multimap<long int, std:: string> > mUsrBlogSet;
|
||||||
//fills up above sets
|
///fills up above sets
|
||||||
std::list<RsQblogItem*> mBlogItems;
|
std::list<RsQblogItem*> mBlogItems;
|
||||||
//how long to keep posts
|
///how long to keep posts
|
||||||
uint32_t mStorePeriod;
|
uint32_t mStorePeriod;
|
||||||
// to track updates
|
/// to track updates
|
||||||
bool mUpdated;
|
bool mUpdated; //possibly useless in light of bottom variable
|
||||||
|
/// to see whether to update
|
||||||
|
bool mRepost;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* load dummy data
|
* load dummy data
|
||||||
|
Loading…
Reference in New Issue
Block a user