vdr
1.7.31
Main Page
Namespaces
Classes
Files
File List
File Members
PLUGINS
src
pictures
entry.h
Go to the documentation of this file.
1
/*
2
* entry.h: Data structure to handle still pictures
3
*
4
* See the README file for copyright information and how to reach the author.
5
*
6
* $Id: entry.h 2.0 2008/01/06 12:30:50 kls Exp $
7
*/
8
9
#ifndef _ENTRY_H
10
#define _ENTRY_H
11
12
#include <
vdr/tools.h
>
13
14
class
cPictureEntry
:
public
cListObject
{
15
private
:
16
char
*
name
;
17
const
cPictureEntry
*
parent
;
18
bool
isDirectory
;
19
mutable
cList<cPictureEntry>
*
entries
;
20
void
Load
(
void
)
const
;
21
public
:
22
cPictureEntry
(
const
char
*
Name
,
const
cPictureEntry
*
Parent
,
bool
IsDirectory
);
23
virtual
~cPictureEntry
();
24
virtual
int
Compare
(
const
cListObject
&ListObject)
const
;
25
const
char
*
Name
(
void
)
const
{
return
name
; }
26
const
cPictureEntry
*
Parent
(
void
)
const
{
return
parent
; }
27
bool
IsDirectory
(
void
)
const
{
return
isDirectory
; }
28
cString
Path
(
void
)
const
;
29
const
cList<cPictureEntry>
*
Entries
(
void
)
const
;
30
const
cPictureEntry
*
FirstPicture
(
void
)
const
;
31
const
cPictureEntry
*
LastPicture
(
void
)
const
;
32
const
cPictureEntry
*
PrevPicture
(
const
cPictureEntry
*This = NULL)
const
;
33
const
cPictureEntry
*
NextPicture
(
const
cPictureEntry
*This = NULL)
const
;
34
};
35
36
#endif //_ENTRY_H
Generated by
1.8.1.2