mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-27 02:56:30 -05:00
Rename RS mail tracker id type according to Cyril suggestion
This commit is contained in:
parent
e530616c53
commit
9a8248c1a2
5 changed files with 22 additions and 22 deletions
|
|
@ -100,11 +100,11 @@ typedef std::string RsMailMessageId; // TODO: rebase on t_RsGenericIdType
|
|||
|
||||
/**
|
||||
* Used to return a tracker id so the API user can keep track of sent mail
|
||||
* status
|
||||
* status, it contains mail id, and recipient id
|
||||
*/
|
||||
struct RsMailTrackId : RsSerializable
|
||||
struct RsMailIdRecipientIdPair : RsSerializable
|
||||
{
|
||||
RsMailTrackId(RsMailMessageId mailId, RsGxsId recipientId):
|
||||
RsMailIdRecipientIdPair(RsMailMessageId mailId, RsGxsId recipientId):
|
||||
mMailId(mailId), mRecipientId(recipientId) {}
|
||||
|
||||
RsMailMessageId mMailId;
|
||||
|
|
@ -115,11 +115,11 @@ struct RsMailTrackId : RsSerializable
|
|||
RsGenericSerializer::SerializeJob j,
|
||||
RsGenericSerializer::SerializeContext &ctx ) override;
|
||||
|
||||
bool operator<(const RsMailTrackId& other) const;
|
||||
bool operator==(const RsMailTrackId& other) const;
|
||||
bool operator<(const RsMailIdRecipientIdPair& other) const;
|
||||
bool operator==(const RsMailIdRecipientIdPair& other) const;
|
||||
|
||||
RsMailTrackId() = default;
|
||||
~RsMailTrackId() override = default;
|
||||
RsMailIdRecipientIdPair() = default;
|
||||
~RsMailIdRecipientIdPair() override = default;
|
||||
};
|
||||
|
||||
namespace Rs
|
||||
|
|
@ -562,8 +562,8 @@ public:
|
|||
const std::set<RsGxsId>& cc = std::set<RsGxsId>(),
|
||||
const std::set<RsGxsId>& bcc = std::set<RsGxsId>(),
|
||||
const std::vector<FileInfo>& attachments = std::vector<FileInfo>(),
|
||||
std::set<RsMailTrackId>& trackingIds =
|
||||
RS_DEFAULT_STORAGE_PARAM(std::set<RsMailTrackId>),
|
||||
std::set<RsMailIdRecipientIdPair>& trackingIds =
|
||||
RS_DEFAULT_STORAGE_PARAM(std::set<RsMailIdRecipientIdPair>),
|
||||
std::string& errorMsg =
|
||||
RS_DEFAULT_STORAGE_PARAM(std::string) ) = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue