mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-11 08:54:34 -05:00
28 lines
462 B
C
28 lines
462 B
C
|
#pragma once
|
||
|
|
||
|
#include "pqi/p3linkmgr.h" // for RsPeerId ??
|
||
|
|
||
|
#include <list>
|
||
|
#include "retroshare/rsids.h"
|
||
|
|
||
|
class RsItem;
|
||
|
|
||
|
class SetPacket
|
||
|
{
|
||
|
public:
|
||
|
SetPacket(double t, const RsPeerId &srcId,
|
||
|
const RsPeerId &destId, RsItem *item)
|
||
|
:mTime(t), mSrcId(srcId), mDestId(destId), mItem(item)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
SetPacket() :mTime(), mItem(NULL) { return; }
|
||
|
|
||
|
double mTime; // relative to test creation;
|
||
|
RsPeerId mSrcId;
|
||
|
RsPeerId mDestId;
|
||
|
RsItem *mItem;
|
||
|
};
|
||
|
|