vdr
2.2.0
|
#include <tools.h>
Public Member Functions | |
cSafeFile (const char *FileName) | |
~cSafeFile () | |
operator FILE * () | |
bool | Open (void) |
bool | Close (void) |
Private Attributes | |
FILE * | f |
char * | fileName |
char * | tempName |
cSafeFile::cSafeFile | ( | const char * | FileName | ) |
cSafeFile::~cSafeFile | ( | ) |
bool cSafeFile::Close | ( | void | ) |
Definition at line 1672 of file tools.c.
References f, fileName, LOG_ERROR_STR, and tempName.
Referenced by cSchedules::Dump(), cTheme::Save(), cConfig< cDiseqc >::Save(), cNestedItemList::Save(), cRecordingInfo::Write(), and cRecording::WriteInfo().
bool cSafeFile::Open | ( | void | ) |
Definition at line 1662 of file tools.c.
References f, fileName, LOG_ERROR_STR, and tempName.
Referenced by cSchedules::Dump(), cTheme::Save(), cConfig< cDiseqc >::Save(), cNestedItemList::Save(), cRecordingInfo::Write(), and cRecording::WriteInfo().
|
private |
Definition at line 404 of file tools.h.
Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().
|
private |
Definition at line 405 of file tools.h.
Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().
|
private |
Definition at line 406 of file tools.h.
Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().