Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class SSEvent
{
public:
SSEvent(QString type, QString data, QString origin, QString lastEventId):
m_data(data)
, m_lastEventId(lastEventId)
, m_origin(origin)
, m_type(type) { }
QString type() const { return m_type; }
QString data() const { return m_data; }
QString lastEventId() const { return m_lastEventId; }
QString origin() const { return m_origin; }
protected:
QString m_data;
QString m_lastEventId;
QString m_origin;
QString m_type;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.