rllib
1
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
lib
rlfileload.h
Go to the documentation of this file.
1
/***************************************************************************
2
rlfileload.h - description
3
-------------------
4
begin : Fri Jul 28 2006
5
copyright : (C) 2006 by R. Lehrig
6
email : lehrig@t-online.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
13
* published by the Free Software Foundation *
14
* *
15
***************************************************************************/
16
#ifndef _RL_FILE_LOAD_H_
17
#define _RL_FILE_LOAD_H_
18
19
#include "
rldefine.h
"
20
21
typedef
struct
_rlFileLines_
22
{
23
char
*
line
;
24
struct
_rlFileLines_
*
next
;
25
}
rlFileLines
;
26
31
class
rlFileLoad
32
{
33
public
:
34
rlFileLoad
();
35
virtual
~rlFileLoad
();
36
int
load
(
const
char
*filename);
37
void
unload
();
38
const
char
*
firstLine
();
39
const
char
*
nextLine
();
40
void
setDebug
(
int
state);
41
private
:
42
int
loaded
;
43
int
debug
;
44
rlFileLines
file_lines
;
45
rlFileLines
*
current_line
;
46
};
47
48
#endif
Generated by
1.8.2