updated to make sure it compiled

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@732 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2008-09-21 20:58:48 +00:00
parent d14a1ffb39
commit d7bcd50ad7
5 changed files with 63 additions and 117 deletions

View File

@ -189,6 +189,7 @@ void BlogDialog::openChat(std::string peerId)
void BlogDialog::postBlog()
{
openMsg(FEEDHOLDER_MSG_BLOG, "", "");
}

View File

@ -25,7 +25,7 @@
#include "mainpage.h"
#include "ui_BlogDialog.h"
#include "gui/feeds/FeedHolder.h"
#include "../gui/feeds/FeedHolder.h"
class BlogMsgItem;

View File

@ -99,8 +99,6 @@ void ProfileEdit::update()
std::list< std::pair<std::wstring, std::wstring> > profile;
std::list< std::pair<std::wstring, std::wstring> >::iterator pit;
rsQblog -> getPeerProfile(pId, profile);
QList<QTreeWidgetItem *> itemList;
for(pit = profile.begin(); pit != profile.end(); pit++)
{

View File

@ -193,8 +193,6 @@ void ProfileView::update()
std::list<FileInfo>::iterator fit;
rsQblog -> getPeerLatestBlog(pId, PostTs, BlogPost);
rsQblog -> getPeerProfile(pId, profile);
rsQblog -> getPeerFavourites(pId, files);
ui.idLineEdit->setText(QString::fromStdString(pId));
ui.nameLineEdit->setText(QString::fromStdString("username"));

View File

@ -31,7 +31,7 @@
#include <list>
#include <map>
#include "rsiface/rstypes.h"
#include "../rsiface/rstypes.h"
/* delcare interafce for everyone o use */
@ -48,30 +48,6 @@ extern RsQblog *rsQblog;
virtual ~RsQblog() { return; }
/**
* choose whether to filter or not
* @param filterSwitch
*/
virtual bool setFilterSwitch(bool &filterSwitch) = 0;
/**
* retrieve usrs filterSwitch status
*/
virtual bool getFilterSwitch(void) = 0;
/**
* add user id to filter list
* @param usr id to add to filter list
*/
virtual bool addToFilter(std::string &usrId) = 0;
/**
* remove friend from filter list
* @param id The user's frined's id
*/
virtual bool removeFiltFriend(std::string &usrId) = 0;
/**
* send blog info, will send to a data structure for transmission
* @param msg The msg the usr wants to send
@ -84,19 +60,6 @@ extern RsQblog *rsQblog;
*/
virtual bool getBlogs(std::map< std::string, std::multimap<long int, std::wstring> > &blogs) = 0;
/**
* set usr profile, send an empty second pair to delete entry
* @param entry profile entry
*/
virtual bool setProfile(std::pair<std::wstring, std::wstring> entry) = 0;
/**
* add fav file, send file info with only name to delete that entry
* @param entry file info entry
*/
virtual bool setFavorites(FileInfo favFile) = 0;
/**
* Stuff DrBob Added for Profile View!
*/
@ -107,22 +70,8 @@ extern RsQblog *rsQblog;
* @param ts Timestamp of the Blog Post.
* @param post the actual Blog Post.
*/
virtual bool getPeerLatestBlog(std::string id, uint32_t &ts, std::wstring &post) = 0;
/**
* get users Profile.
* @param id the user id
* @param entries set of profile information.
*/
virtual bool getPeerProfile(std::string id, std::list< std::pair<std::wstring, std::wstring> > &entries) = 0;
/**
* get users fav files
* @param id the user whose info you want.
* @param favs list of Files
*/
virtual bool getPeerFavourites(std::string id, std::list<FileInfo> &favs) = 0;
};
#endif /*RSQBLOG_H_*/