25#ifndef KIWAY_EXPRESS_H_
26#define KIWAY_EXPRESS_H_
59 void SetPayload(
const std::string& aPayload ) { m_payload = aPayload; }
66 wxWindow* aSource =
nullptr );
88#define kiwayExpressHandler( func ) wxEVENT_HANDLER_CAST( kiwayExpressFunction, func )
91#define EVT_KIWAY_EXPRESS( func ) \
92 wx__DECLARE_EVT0( KIWAY_EXPRESS::wxEVENT_ID, kiwayExpressHandler( func ) )
Carry a payload from one KIWAY_PLAYER to another within a PROJECT.
KIWAY_EXPRESS * Clone() const override
FRAME_T m_destination
could have been a bitmap indicating multiple recipients.
void SetPayload(const std::string &aPayload)
static const wxEventType wxEVENT_ID
The wxEventType argument to wxEvent() and identifies an event class in a hurry.
std::string & GetPayload()
Return the payload, which can be any text but it typically self identifying s-expression.
std::string & m_payload
very often s-expression text, but not always.
MAIL_T Command()
Returns the MAIL_T associated with this mail.
FRAME_T Dest()
Return the destination player id of the message.
FRAME_T
The set of EDA_BASE_FRAME derivatives, typically stored in EDA_BASE_FRAME::m_Ident.
void(wxEvtHandler::* kiwayExpressFunction)(KIWAY_EXPRESS &)
MAIL_T
The set of mail types sendable via KIWAY::ExpressMail() and supplied as the aCommand parameter to tha...