diff options
Diffstat (limited to 'src/libs/installer/protocol.h')
-rw-r--r-- | src/libs/installer/protocol.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/libs/installer/protocol.h b/src/libs/installer/protocol.h index cc084c221..8279cc640 100644 --- a/src/libs/installer/protocol.h +++ b/src/libs/installer/protocol.h @@ -45,11 +45,24 @@ namespace QInstaller { namespace Protocol { +enum struct Mode { + Debug, + Release +}; + +enum struct StartAs { + User, + SuperUser +}; + +const unsigned short DefaultPort = 39999; +const int DefaultHostAddress = 2; // QHostAddress::LocalHost +const char DefaultAuthorizationKey[] = "DefaultAuthorizationKey"; + const char Create[] = "Create"; const char Destroy[] = "Destroy"; const char Shutdown[] = "Shutdown"; const char Authorize[] = "Authorize"; -const char DebugAuthorizationKey[] = "DebugAuthorizationKey"; // QProcessWrapper const char QProcess[] = "QProcess"; |