Panda3D

Loading...
Searching...
No Matches
check_adler.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file check_adler.cxx
10 */
11
12#include "download_utils.h"
13
14 int
15main(int argc, char *argv[]) {
16 if (argc < 2) {
17 std::cerr << "Usage: check_adler <file>" << std::endl;
18 return 1;
19 }
20
21 Filename source_file = argv[1];
22
23 std::cout << check_adler(source_file);
24
25 return 0;
26}
Filename
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
download_utils.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.