mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-09 23:22:48 -04:00
Added acadeeb - A bibiography / reference paper system.
Added wire - decentralised twitter clone. Tweaks to other definitions. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@4809 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aa64617142
commit
6d4fa40416
4 changed files with 227 additions and 7 deletions
50
libretroshare/src/gxs/db_wire.h
Normal file
50
libretroshare/src/gxs/db_wire.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
|
||||
#include "gxp_service.h"
|
||||
|
||||
class db_wire
|
||||
{
|
||||
/* external interface for accessing the info */
|
||||
|
||||
/** Note this could get very busy with a large number of tweeters.
|
||||
* need some other method of getting data
|
||||
*/
|
||||
|
||||
getTweeters(std::list<std::string> &tweeterIds);
|
||||
{
|
||||
getGroups();
|
||||
}
|
||||
|
||||
getTweetRange(GxpTimeStamp, GxpTimeStamp, std::list<std::string> &tweetIds);
|
||||
{
|
||||
getTimeRange();
|
||||
}
|
||||
|
||||
getTweetRangeSource(GxpTimeStamp, GxpTimeStamp, std::string tweeterId, std::list<std::string> &tweetIds);
|
||||
{
|
||||
getGroupTimeRange();
|
||||
}
|
||||
|
||||
getTweet(std::string id, TweetData &tweet);
|
||||
{
|
||||
StackLock();
|
||||
|
||||
RsGxpItem *getMsg_locked(id);
|
||||
|
||||
// translate message into TweetData.
|
||||
|
||||
}
|
||||
|
||||
// Default
|
||||
getProfile(std::string id, TweetData &tweet);
|
||||
|
||||
/* returns a search code, which is used to id later delivery */
|
||||
int searchTweets(GxpSearchCondition cond, std::list<std::string>);
|
||||
|
||||
/* returns a search code, which is used to id later delivery */
|
||||
int fetchPendingSearchResults(int searchId, std::list<std::string>);
|
||||
|
||||
int cancelSearch(int searchId, std::list<std::string>);
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue