files in the program, then also delete it here.
*/
+
+#include "common.h"
#include "dcp.h"
+#include "equality_options.h"
#include "exceptions.h"
-#include "common.h"
+#include "filesystem.h"
#include "mxf.h"
#include <getopt.h>
#include <boost/optional.hpp>
#include <iostream>
#include <list>
+
using std::list;
using std::cerr;
using std::cout;
switch (c) {
case 'V':
- cout << "dcpdiff version " << LIBDCP_VERSION << "\n";
+ cout << "dcpdiff version " << dcp::version << "\n";
exit (EXIT_SUCCESS);
case 'h':
help (argv[0]);
exit (EXIT_FAILURE);
}
- if (!boost::filesystem::exists (argv[optind])) {
+ if (!filesystem::exists(argv[optind])) {
cerr << argv[0] << ": DCP " << argv[optind] << " not found.\n";
exit (EXIT_FAILURE);
}
- if (!boost::filesystem::exists (argv[optind + 1])) {
+ if (!filesystem::exists(argv[optind + 1])) {
cerr << argv[0] << ": DCP " << argv[optind + 1] << " not found.\n";
exit (EXIT_FAILURE);
}