mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
changed enum to enum class and made names globally more consistent for RsEvents
This commit is contained in:
parent
d7504c59b5
commit
3d7ae59df7
21 changed files with 155 additions and 151 deletions
|
@ -107,9 +107,9 @@ struct RsGxsForumMsg : RsSerializable
|
|||
struct RsGxsForumEvent: RsEvent
|
||||
{
|
||||
RsGxsForumEvent()
|
||||
: RsEvent(RsEventType::GXS_FORUMS), mForumEventCode(UNKNOWN) {}
|
||||
: RsEvent(RsEventType::GXS_FORUMS), mForumEventCode(ForumEventCode::UNKNOWN) {}
|
||||
|
||||
enum ForumEventCode: uint8_t {
|
||||
enum class ForumEventCode: uint8_t {
|
||||
UNKNOWN = 0x00,
|
||||
NEW_FORUM = 0x01, // emitted when new forum is received
|
||||
UPDATED_FORUM = 0x02, // emitted when existing forum is updated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue