Overte C++ Documentation
AssignmentClientApp.h
1 //
2 // AssignmentClientapp.h
3 // assignment-client/src
4 //
5 // Created by Seth Alves on 2/19/15.
6 // Copyright 2015 High Fidelity, Inc.
7 // Copyright 2021 Vircadia contributors.
8 //
9 // Distributed under the Apache License, Version 2.0.
10 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
11 //
12 
13 #ifndef hifi_AssignmentClientApp_h
14 #define hifi_AssignmentClientApp_h
15 
16 
17 #include <QApplication>
18 
19 const QString ASSIGNMENT_TYPE_OVERRIDE_OPTION = "t";
20 const QString ASSIGNMENT_POOL_OPTION = "pool";
21 const QString ASSIGNMENT_CLIENT_LISTEN_PORT_OPTION = "p";
22 const QString CUSTOM_ASSIGNMENT_SERVER_HOSTNAME_OPTION = "a";
23 const QString ASSIGNMENT_MONITOR_MIN_CHILDREN_LISTEN_PORT_OPTION = "min-listen-port";
24 const QString CUSTOM_ASSIGNMENT_SERVER_PORT_OPTION = "server-port";
25 const QString ASSIGNMENT_NUM_FORKS_OPTION = "n";
26 const QString ASSIGNMENT_MIN_FORKS_OPTION = "min";
27 const QString ASSIGNMENT_MAX_FORKS_OPTION = "max";
28 const QString ASSIGNMENT_CLIENT_MONITOR_PORT_OPTION = "monitor-port";
29 const QString ASSIGNMENT_HTTP_STATUS_PORT = "http-status-port";
30 const QString ASSIGNMENT_LOG_DIRECTORY = "log-directory";
31 const QString ASSIGNMENT_DISABLE_DOMAIN_AUTO_PORT_DISCOVERY = "disable-domain-port-auto-discovery";
32 
33 class AssignmentClientApp : public QCoreApplication {
34  Q_OBJECT
35 public:
36  AssignmentClientApp(int argc, char* argv[]);
37 };
38 
39 #endif // hifi_AssignmentClientApp_h