Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/vlg/develop/gwavmerger/raven/WavJoin-main.cpp File Reference

#include "WavJoin-main.h"
#include "WavJoin.h"

Include dependency graph for WavJoin-main.cpp:

Include dependency graph

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Variables

const char help_msg []


Function Documentation

int main int    argc,
char *    argv[]
 

Definition at line 56 of file WavJoin-main.cpp.

References WavJoin::get_exit_value, help_msg, WavJoin::initServer, WavJoin::processServer, and VERSION.

00057 {
00058     static const char release[] = VERSION;
00059     int patch_level = 0;
00060 
00061     WavJoin& server = *WavJoin::getInstance ();
00062 
00063     server.set_version (release, patch_level);
00064     server.set_author  ("Vladislav Grinchenko");
00065 
00066     server.init (&argc, argv, help_msg);
00067  
00068     server.initServer ();
00069     server.processServer ();
00070 
00071     return server.get_exit_value ();
00072 }


Variable Documentation

const char help_msg[] [static]
 

Initial value:

"                                                                            \n"
" NAME:                                                                      \n"
"                                                                            \n"
"  WavJoin joins WAV files                                                   \n"
"                                                                            \n"
" DESCRIPTION:                                                               \n"
"                                                                            \n"
"  WavJoin merges a list of WAV files. If output option {-o, --output FNAME} \n"
"  is omitted, the rest of the files will be added to the very first file    \n"
"  on the list.                                                              \n"
"                                                                            \n"
" USAGE:                                                                     \n"
"                                                                            \n"
"   shell>  WavJoin [OPTIONS] --output=<result.wav> file1, file2, ...        \n"
"                                                                            \n"
" OPTIONS:                                                                   \n"
"                                                                            \n"
" -o, --output NAME       - Output file name                                 \n"
"     --percent           - Report the name of the file being processed and  \n"
"                           its completion percentage.                       \n"
" -D, --log-file NAME     - Write debug to NAME file (dflt: /dev/null)       \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: NONE=0x0)                         \n"
" -h, --help              - Print this messag                                \n"
" -v, --version           - Print version number                            \n"

Definition at line 19 of file WavJoin-main.cpp.

Referenced by main.


Generated on Tue Feb 11 23:05:21 2003 for gwavmerger by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002