mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 03:36:58 -04:00
removed old/unreferenced gxs source files. Moved unfinished ideas for wire+acadb to unfinished/
This commit is contained in:
parent
5f86ac1e3c
commit
b53e75ae82
9 changed files with 0 additions and 1862 deletions
82
libretroshare/src/unfinished/db_acadeeb.h
Normal file
82
libretroshare/src/unfinished/db_acadeeb.h
Normal file
|
@ -0,0 +1,82 @@
|
|||
/*
|
||||
* libretroshare/src/gxp: gxp_apps.h
|
||||
*
|
||||
* General Exchange Protocol interface for RetroShare.
|
||||
*
|
||||
* Copyright 2011-2011 by Robert Fernie.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License Version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||
* USA.
|
||||
*
|
||||
* Please report all bugs and problems to "retroshare@lunamutt.com".
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef RS_ACADEE_H
|
||||
#define RS_ACADEE_H
|
||||
|
||||
/*******
|
||||
* Stores a Bibliography of Academic Articles, with links to allow you to access the actual article.
|
||||
* The data fields, should contain enough information to
|
||||
* - extract full biblio (bibtex or ris formats).
|
||||
* - read abstract.
|
||||
* - review / rating of the article
|
||||
* - references to similar papers, and bibliography.
|
||||
* - keywords, and the like.
|
||||
*
|
||||
* It will be possible to have multiple identical / similar / different descriptions of the same article.
|
||||
* The class will have to handle this: sorting and matching as best it can.
|
||||
*
|
||||
****/
|
||||
|
||||
class gxp::Paper
|
||||
{
|
||||
/* fields from ris */
|
||||
std::string reftype;
|
||||
std::string journal;
|
||||
std::string title;
|
||||
std::string issuetitle;
|
||||
uint32_t volume;
|
||||
uint32_t issue;
|
||||
std::string publisher;
|
||||
std::string serialnumber;
|
||||
std::string url;
|
||||
std::list<std::string> authors;
|
||||
rstime_t date;
|
||||
uint32_t startpage;
|
||||
uint32_t endpage;
|
||||
std::string language;
|
||||
|
||||
std::string abstract;
|
||||
|
||||
// KeyWords <- go into hashtags (parent class)
|
||||
//References & Similar Papers <- go into links (parent class)
|
||||
};
|
||||
|
||||
|
||||
class rsAcadee: public rsGmxp
|
||||
{
|
||||
public:
|
||||
|
||||
/* we want to access the */
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif /* RS_GXP_H */
|
||||
|
||||
|
50
libretroshare/src/unfinished/db_wire.h
Normal file
50
libretroshare/src/unfinished/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