vdr 2.7.3
args.h
Go to the documentation of this file.
1/*
2 * args.h: Read arguments from files
3 *
4 * See the main source file 'vdr.c' for copyright information and
5 * how to reach the author.
6 *
7 * Original version written by Lars Hanisch <dvb@flensrocker.de>.
8 *
9 * $Id: args.h 1.1 2014/04/14 11:54:21 kls Exp $
10 */
11
12#ifndef __ARGS_H
13#define __ARGS_H
14
15#include "tools.h"
16
17class cArgs {
18private:
23 int argc;
24 char **argv;
25 bool AddArg(const char *s);
26public:
27 cArgs(const char *Argv0);
28 ~cArgs(void);
29 bool ReadDirectory(const char *Directory);
30 int GetArgc(void) const { return argc; };
31 char **GetArgv(void) const { return argv; };
32 };
33
34#endif //__ARGS_H
int GetArgc(void) const
Definition args.h:30
~cArgs(void)
Definition args.c:22
bool inVdrSection
Definition args.h:22
cString argv0
Definition args.h:19
cStringList args
Definition args.h:20
cArgs(const char *Argv0)
Definition args.c:15
bool AddArg(const char *s)
Definition args.c:28
cString lastArg
Definition args.h:21
char ** argv
Definition args.h:24
char ** GetArgv(void) const
Definition args.h:31
bool ReadDirectory(const char *Directory)
Definition args.c:39
int argc
Definition args.h:23