OSDN Git Service

Some more clean-up + moved some more functions to MUtilities library.
[x264-launcher/x264-launcher.git] / src / cli.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Simple x264 Launcher
3 // Copyright (C) 2004-2015 LoRd_MuldeR <MuldeR2@GMX.de>
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License along
16 // with this program; if not, write to the Free Software Foundation, Inc.,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 //
19 // http://www.gnu.org/licenses/gpl-2.0.txt
20 ///////////////////////////////////////////////////////////////////////////////
21
22 #pragma once
23
24 #include <QStringList>
25
26 ///////////////////////////////////////////////////////////////////////////////
27 // CLI parameter identifiers
28 ///////////////////////////////////////////////////////////////////////////////
29
30 static const char *const CLI_PARAM_ADD_FILE           = "add-file";
31 static const char *const CLI_PARAM_ADD_JOB            = "add-job";
32 static const char *const CLI_PARAM_FORCE_START        = "force-start";
33 static const char *const CLI_PARAM_FORCE_ENQUEUE      = "force-enqueue";
34 static const char *const CLI_PARAM_SKIP_AVS_CHECK     = "skip-avisynth-check";
35 static const char *const CLI_PARAM_SKIP_VPS_CHECK     = "skip-vapoursynth-check";
36 static const char *const CLI_PARAM_SKIP_VERSION_CHECK = "skip-version-checks";
37 static const char *const CLI_PARAM_NO_DEADLOCK        = "no-deadlock-detection";
38 static const char *const CLI_PARAM_NO_GUI_STYLE       = "no-style";
39 static const char *const CLI_PARAM_FIRST_RUN          = "first-run";
40 static const char *const CLI_PARAM_CONSOLE_SHOW       = "console";
41 static const char *const CLI_PARAM_CONSOLE_HIDE       = "no-console";
42 static const char *const CLI_PARAM_CPU_NO_64BIT       = "force-cpu-no-64bit";
43 static const char *const CLI_PARAM_CPU_NO_SSE         = "force-cpu-no-sse";
44 static const char *const CLI_PARAM_CPU_NO_INTEL       = "force-cpu-no-intel";