mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
4907d29156
added to .pro file git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7280 b45a01b8-16f6-495d-af2f-9b41ad6348cc
61 lines
1.3 KiB
C++
61 lines
1.3 KiB
C++
/*
|
|
* nxsdummyservices.cc
|
|
*
|
|
* Created on: 13 Apr 2014
|
|
* Author: crispy
|
|
*/
|
|
|
|
|
|
#include "nxsdummyservices.h"
|
|
|
|
|
|
|
|
rs_nxs_test::RsNxsSimpleDummyCircles::RsNxsSimpleDummyCircles(
|
|
std::list<Membership>& membership, bool cached) {
|
|
}
|
|
|
|
bool rs_nxs_test::RsNxsSimpleDummyCircles::isLoaded(
|
|
const RsGxsCircleId& circleId) {
|
|
return true;
|
|
}
|
|
|
|
bool rs_nxs_test::RsNxsSimpleDummyCircles::loadCircle(
|
|
const RsGxsCircleId& circleId) {
|
|
return true;
|
|
}
|
|
|
|
int rs_nxs_test::RsNxsSimpleDummyCircles::canSend(const RsGxsCircleId& circleId,
|
|
const RsPgpId& id) {
|
|
return true;
|
|
}
|
|
|
|
int rs_nxs_test::RsNxsSimpleDummyCircles::canReceive(
|
|
const RsGxsCircleId& circleId, const RsPgpId& id) {
|
|
return true;
|
|
}
|
|
|
|
bool rs_nxs_test::RsNxsSimpleDummyCircles::recipients(
|
|
const RsGxsCircleId& circleId, std::list<RsPgpId>& friendlist) {
|
|
return true;
|
|
}
|
|
|
|
rs_nxs_test::RsNxsSimpleDummyReputation::RsNxsSimpleDummyReputation(
|
|
RepMap& repMap, bool cached) {
|
|
}
|
|
|
|
bool rs_nxs_test::RsNxsSimpleDummyReputation::haveReputation(
|
|
const RsGxsId& id) {
|
|
return true;
|
|
}
|
|
|
|
bool rs_nxs_test::RsNxsSimpleDummyReputation::loadReputation(const RsGxsId& id,
|
|
const std::list<RsPeerId>& peers) {
|
|
return true;
|
|
}
|
|
|
|
bool rs_nxs_test::RsNxsSimpleDummyReputation::getReputation(const RsGxsId& id,
|
|
GixsReputation& rep) {
|
|
rep.score = 5;
|
|
return true;
|
|
}
|