summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:57:43 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:51 +0100
commit5f5e293345a063ab7b274edcc76d329891503379 (patch)
tree36a346cc4d2bb65d9d2a0e64a0b3270ace37a562 /src/PatchageEvent.hpp
parentf9ff5a5586166ee2f44b43f347726f98c9a966af (diff)
downloadpatchage-5f5e293345a063ab7b274edcc76d329891503379.tar.gz
patchage-5f5e293345a063ab7b274edcc76d329891503379.tar.bz2
patchage-5f5e293345a063ab7b274edcc76d329891503379.zip
Use consistent naming convention for enum classes
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r--src/PatchageEvent.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp
index 7376915..34cf5fb 100644
--- a/src/PatchageEvent.hpp
+++ b/src/PatchageEvent.hpp
@@ -40,17 +40,17 @@ class PatchageEvent
public:
enum class Type : uint8_t
{
- NULL_EVENT = 0,
- REFRESH,
- CLIENT_CREATION,
- CLIENT_DESTRUCTION,
- PORT_CREATION,
- PORT_DESTRUCTION,
- CONNECTION,
- DISCONNECTION
+ noop,
+ refresh,
+ client_creation,
+ client_destruction,
+ port_creation,
+ port_destruction,
+ connection,
+ disconnection,
};
- explicit PatchageEvent(Type type = Type::NULL_EVENT)
+ explicit PatchageEvent(Type type = Type::noop)
: _str(nullptr)
, _type(type)
{}