mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 18:36:01 +08:00
Doxygen
This commit is contained in:
committed by
Mat Sutcliffe
parent
2c89275ea6
commit
11ee2413b5
@@ -22,11 +22,16 @@ namespace BlackCore
|
||||
class BLACKCORE_EXPORT DeletePilot : public MessageBase
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
DeletePilot(const QString &sender, const QString &cid);
|
||||
virtual ~DeletePilot() {}
|
||||
|
||||
//! Message converted to tokens
|
||||
QStringList toTokens() const;
|
||||
|
||||
//! Construct from tokens
|
||||
static DeletePilot fromTokens(const QStringList &tokens);
|
||||
|
||||
//! PDU identifier
|
||||
static QString pdu() { return QStringLiteral("#DP"); }
|
||||
|
||||
QString m_cid;
|
||||
@@ -35,14 +40,16 @@ namespace BlackCore
|
||||
DeletePilot();
|
||||
};
|
||||
|
||||
inline bool operator==(const DeletePilot& lhs, const DeletePilot& rhs)
|
||||
//! Equal to operator
|
||||
inline bool operator==(const DeletePilot &lhs, const DeletePilot &rhs)
|
||||
{
|
||||
return lhs.sender() == rhs.sender() &&
|
||||
lhs.receiver() == rhs.receiver() &&
|
||||
lhs.m_cid == rhs.m_cid;
|
||||
}
|
||||
|
||||
inline bool operator!=(const DeletePilot& lhs, const DeletePilot& rhs)
|
||||
//! Not equal to operator
|
||||
inline bool operator!=(const DeletePilot &lhs, const DeletePilot &rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user