Created
September 6, 2014 18:02
-
-
Save lbt/64b45eb7af60d94e90a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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