@@ -81,48 +81,50 @@ int main ( int argc, char** argv )
8181#else
8282 bool bIsClient = true ;
8383#endif
84- bool bUseGUI = true ;
85- bool bStartMinimized = false ;
86- bool bShowComplRegConnList = false ;
87- bool bDisconnectAllClientsOnQuit = false ;
88- bool bUseDoubleSystemFrameSize = true ; // default is 128 samples frame size
89- bool bUseMultithreading = false ;
90- bool bShowAnalyzerConsole = false ;
91- bool bMuteStream = false ;
92- bool bMuteMeInPersonalMix = false ;
93- bool bDisableRecording = false ;
94- bool bDelayPan = false ;
95- bool bNoAutoJackConnect = false ;
96- bool bUseTranslation = true ;
97- bool bCustomPortNumberGiven = false ;
98- bool bEnableIPv6 = false ;
99- int iNumServerChannels = DEFAULT_USED_NUM_CHANNELS;
100- quint16 iPortNumber = DEFAULT_PORT_NUMBER;
101- int iJsonRpcPortNumber = INVALID_PORT;
102- QString strJsonRpcBindIP = DEFAULT_JSON_RPC_LISTEN_ADDRESS;
103- quint16 iQosNumber = DEFAULT_QOS_NUMBER;
104- ELicenceType eLicenceType = LT_NO_LICENCE;
105- QString strMIDISetup = " " ;
106- QString strConnOnStartupAddress = " " ;
107- QString strIniFileName = " " ;
108- QString strHTMLStatusFileName = " " ;
109- QString strLoggingFileName = " " ;
110- QString strRecordingDirName = " " ;
111- QString strDirectoryAddress = " " ;
112- QString strServerListFileName = " " ;
113- QString strServerInfo = " " ;
114- QString strServerPublicIP = " " ;
115- QString strServerBindIP = " " ;
116- QString strServerListFilter = " " ;
117- QString strWelcomeMessage = " " ;
118- QString strClientName = " " ;
119- QString strJsonRpcSecretFileName = " " ;
84+ bool bUseGUI = true ;
85+ bool bStartMinimized = false ;
86+ bool bShowComplRegConnList = false ;
87+ bool bDisconnectAllClientsOnQuit = false ;
88+ bool bUseDoubleSystemFrameSize = true ; // default is 128 samples frame size
89+ bool bUseMultithreading = false ;
90+ bool bShowAnalyzerConsole = false ;
91+ bool bMuteStream = false ;
92+ bool bMuteMeInPersonalMix = false ;
93+ bool bDisableRecording = false ;
94+ bool bDelayPan = false ;
95+ bool bNoAutoJackConnect = false ;
96+ bool bUseTranslation = true ;
97+ bool bCustomPortNumberGiven = false ;
98+ bool bEnableIPv6 = false ;
99+ bool bEnableAccessiblePushButtonUi = false ;
100+ int iNumServerChannels = DEFAULT_USED_NUM_CHANNELS;
101+ quint16 iPortNumber = DEFAULT_PORT_NUMBER;
102+ int iJsonRpcPortNumber = INVALID_PORT;
103+ QString strJsonRpcBindIP = DEFAULT_JSON_RPC_LISTEN_ADDRESS;
104+ quint16 iQosNumber = DEFAULT_QOS_NUMBER;
105+ ELicenceType eLicenceType = LT_NO_LICENCE;
106+ QString strMIDISetup = " " ;
107+ QString strConnOnStartupAddress = " " ;
108+ QString strIniFileName = " " ;
109+ QString strHTMLStatusFileName = " " ;
110+ QString strLoggingFileName = " " ;
111+ QString strRecordingDirName = " " ;
112+ QString strDirectoryAddress = " " ;
113+ QString strServerListFileName = " " ;
114+ QString strServerInfo = " " ;
115+ QString strServerPublicIP = " " ;
116+ QString strServerBindIP = " " ;
117+ QString strServerListFilter = " " ;
118+ QString strWelcomeMessage = " " ;
119+ QString strClientName = " " ;
120+ QString strJsonRpcSecretFileName = " " ;
120121
121122#if defined( HEADLESS ) || defined( SERVER_ONLY )
122123 Q_UNUSED ( bStartMinimized )
123124 Q_UNUSED ( bUseTranslation )
124125 Q_UNUSED ( bShowComplRegConnList )
125126 Q_UNUSED ( bShowAnalyzerConsole )
127+ Q_UNUSED ( bEnableAccessiblePushButtonUi )
126128 Q_UNUSED ( bMuteStream )
127129#endif
128130#if defined( SERVER_ONLY )
@@ -246,6 +248,15 @@ int main ( int argc, char** argv )
246248 continue ;
247249 }
248250
251+ // Enable Accessible server list --------------------------------------
252+ if ( GetFlagArgument ( argv, i, " --accessible" , " --accessible" ) )
253+ {
254+ bEnableAccessiblePushButtonUi = true ;
255+ qInfo () << " - Accessible server list enabled" ;
256+ CommandLineOptions << " --accessible" ;
257+ continue ;
258+ }
259+
249260 // Server only:
250261
251262 // Disconnect all clients on quit --------------------------------------
@@ -865,10 +876,10 @@ int main ( int argc, char** argv )
865876 Q_INIT_RESOURCE ( resources );
866877
867878#ifndef SERVER_ONLY
868- // ### TEST: BEGIN ###//
869- // activate the following line to activate the test bench,
870- // CTestbench Testbench ( "127.0.0.1", DEFAULT_PORT_NUMBER );
871- // ### TEST: END ###//
879+ // ### TEST: BEGIN ###//
880+ // activate the following line to activate the test bench,
881+ // CTestbench Testbench ( "127.0.0.1", DEFAULT_PORT_NUMBER );
882+ // ### TEST: END ###//
872883#endif
873884
874885#ifdef NO_JSON_RPC
@@ -961,6 +972,7 @@ int main ( int argc, char** argv )
961972 bShowAnalyzerConsole,
962973 bMuteStream,
963974 bEnableIPv6,
975+ bEnableAccessiblePushButtonUi,
964976 nullptr );
965977
966978 // show dialog
@@ -1139,6 +1151,7 @@ QString UsageArguments ( char** argv )
11391151 " --mutemyown prevent me from hearing what I play in the server mix (headless only)\n "
11401152 " --clientname client name (window title and JACK client name)\n "
11411153 " --ctrlmidich configure MIDI controller\n "
1154+ " --accessible run Client UI in more accessible mode for screen reader users\n "
11421155 " \n "
11431156 " Example: %1 -s --inifile myinifile.ini\n "
11441157 " \n "
0 commit comments