summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'message.h')
-rw-r--r--message.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/message.h b/message.h
index c39b107..229ba80 100644
--- a/message.h
+++ b/message.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2017, 2018 Konsulko Group
+ * Copyright (C) 2017, 2018, 2019 Konsulko Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,7 @@ enum MessageType {
RadioEventMessage,
MapEventMessage,
NavigationEventMessage,
+ VoiceEventMessage,
};
class Message : public QObject
@@ -87,17 +88,17 @@ class Message : public QObject
return m_reply_data;
}
- inline bool isEvent() const
+ inline bool isEvent() const
{
return m_event;
}
- inline bool isReply() const
+ inline bool isReply() const
{
return m_reply;
}
- inline bool isValid() const
+ inline bool isValid() const
{
return m_init;
}