Minor code formatting cleanups.

This commit is contained in:
casey langen 2020-10-20 22:45:14 -07:00
parent 2424d2e534
commit 3d58d6ade4
3 changed files with 23 additions and 21 deletions

View File

@ -37,9 +37,8 @@
#include "IMessage.h" #include "IMessage.h"
#include "IMessageTarget.h" #include "IMessageTarget.h"
namespace musik { namespace musik { namespace core { namespace runtime {
namespace core {
namespace runtime {
class IMessageQueue { class IMessageQueue {
public: public:
virtual ~IMessageQueue() { } virtual ~IMessageQueue() { }
@ -55,6 +54,5 @@ namespace musik {
virtual void WaitAndDispatch(int64_t timeoutMillis = -1) = 0; virtual void WaitAndDispatch(int64_t timeoutMillis = -1) = 0;
virtual void Dispatch() = 0; virtual void Dispatch() = 0;
}; };
}
} } } }
}

View File

@ -37,6 +37,7 @@
#include "IMessage.h" #include "IMessage.h"
namespace musik { namespace core { namespace runtime { namespace musik { namespace core { namespace runtime {
class Message : public IMessage { class Message : public IMessage {
protected: protected:
Message( Message(
@ -65,4 +66,5 @@ namespace musik { namespace core { namespace runtime {
int messageType; int messageType;
int64_t data1, data2; int64_t data1, data2;
}; };
} } } } } }

View File

@ -44,6 +44,7 @@
#include <set> #include <set>
namespace musik { namespace core { namespace runtime { namespace musik { namespace core { namespace runtime {
class MessageQueue : public IMessageQueue { class MessageQueue : public IMessageQueue {
public: public:
MessageQueue(); MessageQueue();
@ -93,4 +94,5 @@ namespace musik { namespace core { namespace runtime {
void Dispatch(IMessagePtr message); void Dispatch(IMessagePtr message);
}; };
} } } } } }