summaryrefslogtreecommitdiffstats
path: root/src/CRSMConfig.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-09-28 15:43:09 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-09-28 15:43:09 +0200
commitf006c1ea01b37173dbfc893266a541fe1f4e3524 (patch)
tree6d7e3393ebb23059dfb31e623e985fb48772f1ab /src/CRSMConfig.hpp
parentd923aa73c3c76a0f1943a8cf4ed96197e7d20c77 (diff)
downloadmanager-f006c1ea01b37173dbfc893266a541fe1f4e3524.tar.gz
manager-f006c1ea01b37173dbfc893266a541fe1f4e3524.zip
Use ushort instead of int for CRSM.ManagementPort
Diffstat (limited to 'src/CRSMConfig.hpp')
-rw-r--r--src/CRSMConfig.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CRSMConfig.hpp b/src/CRSMConfig.hpp
index b705c62..c0f3b06 100644
--- a/src/CRSMConfig.hpp
+++ b/src/CRSMConfig.hpp
@@ -49,6 +49,7 @@ public:
using String = QString;
using Integer = int;
+using Port = ushort;
using Boolean = bool;
#define List(Type) QList<Type>
#define Map(KeyType, ValueType) QMap<KeyType, ValueType>
@@ -234,7 +235,7 @@ protected:
class CRSMConfig : public CRSMConfigBase {
public:
struct {
- Integer ManagementPort = 9372;
+ Port ManagementPort = 9372;
String ListFolder = "ScenarioLists";
} CRSM;