#include "WavInfo-main.h"
#include "WavInfo.h"
Include dependency graph for WavInfo-main.cpp:
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
const char | help_msg [] |
|
Definition at line 57 of file WavInfo-main.cpp. References WavInfo::get_exit_value, help_msg, WavInfo::initServer, WavInfo::processServer, and VERSION.
00058 { 00059 static const char release[] = VERSION; 00060 int patch_level = 0; 00061 00062 WavInfo& server = *WavInfo::getInstance (); 00063 00064 server.set_version (release, patch_level); 00065 server.set_author ("Vladislav Grinchenko"); 00066 00067 server.init (&argc, argv, help_msg); 00068 00069 server.initServer (); 00070 server.processServer (); 00071 00072 return server.get_exit_value (); 00073 } |
|
Initial value: " \n" " NAME: \n" " \n" " WavInfo - display header information of the sound file \n" " \n" " DESCRIPTION: \n" " \n" " WavInfo displays header information to the argument sound file. \n" " \n" " USAGE: \n" " \n" " shell> WavInfo [OPTIONS] sound_file \n" " \n" " RETURN: \n" " 0 if sound_file is a WAV file; 1 if not \n" " \n" " OPTIONS: \n" " \n" " --silent - Don't report file info to the standard output \n" " -D, --log-file NAME - Write debug to NAME file (dflt: WavInfo.log) \n" " -d, --log-stdout - Write debug to standard output \n" " -z, --log-size NUM - Maximum size debug file can reach (dfl: is 10Mb) \n" " -m, --mask MASK - Mask (default: ALL = 0x7fffffff) \n" " -h, --help - Print this messag \n" " -v, --version - Print version number \n" Definition at line 20 of file WavInfo-main.cpp. Referenced by main. |