#include "PlayListConverter.h"
#include "config.h"
#include <unistd.h>
#include <getopt.h>
#include <string>
#include <list>
#include <iostream>
Include dependency graph for main.cpp:
Go to the source code of this file.
Compounds | |
struct | CommandLineOptions |
the parsed command line options More... | |
Functions | |
void | parse_options (int argc, char *argc[], CommandLineOptions &options) |
void | show_help () |
show the help message & exit | |
void | list_formats () |
display the list of available formats & exit | |
int | main (int argc, char *argv[]) |
main entry point | |
void | parse_options (int argc, char **argv, CommandLineOptions &cmdline) |
extract command line options | |
Variables | |
const char | c_about [] |
the help/about text |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file main.cpp.
|
display the list of available formats & exit
Definition at line 127 of file main.cpp. References PlayListConverter::FormatDescList, and PlayListConverter::get_formats(). Referenced by parse_options(). |
|
main entry point
Definition at line 57 of file main.cpp. References CommandLineOptions::emp_file, PlayListConverter::load_config(), CommandLineOptions::options, parse_options(), PlayListConverter::process_rmp(), PlayListConverter::set_options(), and show_help(). |
|
extract command line options
Definition at line 79 of file main.cpp. References CommandLineOptions::emp_file, PlayListConverter::Options::formats, list_formats(), CommandLineOptions::options, show_help(), and PlayListConverter::Options::wait_for_child. Referenced by main(). |
|
|
|
show the help message & exit
Definition at line 119 of file main.cpp. References c_about. Referenced by main(), and parse_options(). |
|
Initial value: "An application to transform rmp (.emp) files into other " "formats & and launch associated applications\n" "usage : " PACKAGE " [options] emp_file\n" "options :\n" "\t--format - process the file with this format (may be specified more than once)\n" "\t--no-wait - dont wait for a process to finish before processing the next format\n" "\t--help - show this help\n" "\t--list - display the list of available formats\n"
Definition at line 35 of file main.cpp. Referenced by show_help(). |