mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
28 lines
463 B
C++
28 lines
463 B
C++
#pragma once
|
|
|
|
#include "pqi/p3linkmgr.h" // for RsPeerId ??
|
|
|
|
#include <list>
|
|
#include "retroshare/rsids.h"
|
|
|
|
struct 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;
|
|
};
|
|
|