vdr
2.2.0
Main Page
Namespaces
Classes
Files
File List
File Members
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
17
class
cArgs
{
18
private
:
19
cString
argv0
;
20
cStringList
args
;
21
cString
lastArg
;
22
bool
inVdrSection
;
23
int
argc
;
24
char
**
argv
;
25
bool
AddArg
(
const
char
*s);
26
public
:
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
cArgs::cArgs
cArgs(const char *Argv0)
Definition:
args.c:15
cArgs::lastArg
cString lastArg
Definition:
args.h:21
cArgs
Definition:
args.h:17
cArgs::~cArgs
~cArgs(void)
Definition:
args.c:22
cStringList
Definition:
tools.h:624
cArgs::argc
int argc
Definition:
args.h:23
cArgs::args
cStringList args
Definition:
args.h:20
cArgs::GetArgc
int GetArgc(void) const
Definition:
args.h:30
cArgs::GetArgv
char ** GetArgv(void) const
Definition:
args.h:31
cArgs::ReadDirectory
bool ReadDirectory(const char *Directory)
Definition:
args.c:39
cArgs::inVdrSection
bool inVdrSection
Definition:
args.h:22
cArgs::argv
char ** argv
Definition:
args.h:24
cArgs::AddArg
bool AddArg(const char *s)
Definition:
args.c:28
tools.h
cArgs::argv0
cString argv0
Definition:
args.h:19
cString
Definition:
tools.h:168
Generated by
1.8.11