vdr  2.2.0
Public Member Functions | Private Attributes | Friends | List of all members
cMark Class Reference

#include <recording.h>

Public Member Functions

 cMark (int Position=0, const char *Comment=NULL, double FramesPerSecond=DEFAULTFRAMESPERSECOND)
 
virtual ~cMark ()
 
int Position (void) const
 
const char * Comment (void) const
 
void SetPosition (int Position)
 
void SetComment (const char *Comment)
 
cString ToText (void)
 
bool Parse (const char *s)
 
bool Save (FILE *f)
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Private Attributes

double framesPerSecond
 
int position
 
cString comment
 

Friends

class cMarks
 

Detailed Description

Definition at line 335 of file recording.h.

Constructor & Destructor Documentation

cMark::cMark ( int  Position = 0,
const char *  Comment = NULL,
double  FramesPerSecond = DEFAULTFRAMESPERSECOND 
)

Definition at line 2018 of file recording.c.

cMark::~cMark ( )
virtual

Definition at line 2025 of file recording.c.

Member Function Documentation

const char* cMark::Comment ( void  ) const
inline

Definition at line 345 of file recording.h.

bool cMark::Parse ( const char *  s)

Definition at line 2034 of file recording.c.

References HMSFToIndex(), MarkFramesPerSecond, and skipspace().

int cMark::Position ( void  ) const
inline
bool cMark::Save ( FILE *  f)

Definition at line 2048 of file recording.c.

void cMark::SetComment ( const char *  Comment)
inline

Definition at line 347 of file recording.h.

References cResumeFile::Save().

void cMark::SetPosition ( int  Position)
inline

Definition at line 346 of file recording.h.

Referenced by cReplayControl::MarkMove().

cString cMark::ToText ( void  )

Definition at line 2029 of file recording.c.

References IndexToHMSF(), and cString::sprintf().

Friends And Related Function Documentation

friend class cMarks
friend

Definition at line 336 of file recording.h.

Member Data Documentation

cString cMark::comment
private

Definition at line 340 of file recording.h.

double cMark::framesPerSecond
private

Definition at line 338 of file recording.h.

int cMark::position
private

Definition at line 339 of file recording.h.


The documentation for this class was generated from the following files: