aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-05-22 16:03:56 +0200
committerAdrian Frühwirth2018-05-24 15:30:55 +0200
commitcee4d6b8531453c9db921bb987be88995ce86586 (patch)
tree144d1ae98d26235227393c6f0e1c332f32b21a40 /common
parentbc949250de1fda6b47b99facbdf0c349835b1f53 (diff)
downloadscummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.tar.gz
scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.tar.bz2
scummvm-rg350-cee4d6b8531453c9db921bb987be88995ce86586.zip
JANITORIAL: Fix trailing whitespace
Diffstat (limited to 'common')
-rw-r--r--common/osd_message_queue.cpp6
-rw-r--r--common/osd_message_queue.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/common/osd_message_queue.cpp b/common/osd_message_queue.cpp
index b8abf18bb5..d150737165 100644
--- a/common/osd_message_queue.cpp
+++ b/common/osd_message_queue.cpp
@@ -26,18 +26,18 @@
namespace Common {
DECLARE_SINGLETON(OSDMessageQueue);
-
+
OSDMessageQueue::OSDMessageQueue() : _lastUpdate(0) {
}
OSDMessageQueue::~OSDMessageQueue() {
g_system->getEventManager()->getEventDispatcher()->unregisterSource(this);
}
-
+
void OSDMessageQueue::registerEventSource() {
g_system->getEventManager()->getEventDispatcher()->registerSource(this, false);
}
-
+
void OSDMessageQueue::addMessage(const char *msg) {
_mutex.lock();
_messages.push(msg);
diff --git a/common/osd_message_queue.h b/common/osd_message_queue.h
index 7aa7cf4792..10fe96bc6a 100644
--- a/common/osd_message_queue.h
+++ b/common/osd_message_queue.h
@@ -38,9 +38,9 @@ class OSDMessageQueue : public Singleton<OSDMessageQueue>, public EventSource {
public:
OSDMessageQueue();
~OSDMessageQueue();
-
+
void registerEventSource();
-
+
enum {
kMinimumDelay = 1000 /** < Minimum delay between two OSD messages (in milliseconds) */
};
@@ -49,7 +49,7 @@ public:
* Add a message to the OSD message queue.
*/
void addMessage(const char *msg);
-
+
/**
* Common::EventSource interface
*