Don't use --target-macos-arm64 any more, since it's not supported.
[dcpomatic.git] / src / lib / create_cli.h
1 /*
2     Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
3
4     This file is part of DCP-o-matic.
5
6     DCP-o-matic is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     DCP-o-matic is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with DCP-o-matic.  If not, see <http://www.gnu.org/licenses/>.
18
19 */
20
21 #include "types.h"
22 #include <dcp/types.h>
23 #include <boost/optional.hpp>
24 #include <boost/filesystem.hpp>
25 #include <vector>
26
27 class DCPContentType;
28 class Ratio;
29
30 class CreateCLI
31 {
32 public:
33         CreateCLI (int argc, char* argv[]);
34
35         struct Content {
36                 boost::filesystem::path path;
37                 VideoFrameType frame_type;
38         };
39
40         bool version;
41         std::string name;
42         boost::optional<std::string> template_name;
43         bool encrypt;
44         bool threed;
45         DCPContentType const * dcp_content_type;
46         boost::optional<int> dcp_frame_rate;
47         Ratio const * container_ratio;
48         Ratio const * content_ratio;
49         int still_length;
50         dcp::Standard standard;
51         bool no_use_isdcf_name;
52         bool no_sign;
53         boost::optional<boost::filesystem::path> config_dir;
54         boost::optional<boost::filesystem::path> output_dir;
55         boost::optional<std::string> error;
56         std::vector<Content> content;
57         bool fourk;
58         boost::optional<int> j2k_bandwidth;
59
60 private:
61         static std::string _help;
62 };