summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 14:02:44 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 14:02:44 +0100
commit663a5d01b1931b97370ed8feff3ae229a9cc7ea4 (patch)
treeaba74794cb45f06734bd80bbf53d79f947008e54 /src/Event.hpp
parent1936aace80b5594078d874e9b661a9a91e461279 (diff)
downloadpatchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.gz
patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.bz2
patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.zip
Format all code with clang-format
Diffstat (limited to 'src/Event.hpp')
-rw-r--r--src/Event.hpp48
1 files changed, 20 insertions, 28 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index e664399..3cb5bba 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -27,48 +27,40 @@
namespace patchage {
-struct DriverAttachmentEvent
-{
- ClientType type;
+struct DriverAttachmentEvent {
+ ClientType type;
};
-struct DriverDetachmentEvent
-{
- ClientType type;
+struct DriverDetachmentEvent {
+ ClientType type;
};
-struct ClientCreationEvent
-{
- ClientID id;
- ClientInfo info;
+struct ClientCreationEvent {
+ ClientID id;
+ ClientInfo info;
};
-struct ClientDestructionEvent
-{
- ClientID id;
+struct ClientDestructionEvent {
+ ClientID id;
};
-struct PortCreationEvent
-{
- PortID id;
- PortInfo info;
+struct PortCreationEvent {
+ PortID id;
+ PortInfo info;
};
-struct PortDestructionEvent
-{
- PortID id;
+struct PortDestructionEvent {
+ PortID id;
};
-struct ConnectionEvent
-{
- PortID tail;
- PortID head;
+struct ConnectionEvent {
+ PortID tail;
+ PortID head;
};
-struct DisconnectionEvent
-{
- PortID tail;
- PortID head;
+struct DisconnectionEvent {
+ PortID tail;
+ PortID head;
};
/// An event from drivers that is processed by the GUI