PlaybackBoxHelper Class Reference

#include <playbackboxhelper.h>

Inheritance diagram for PlaybackBoxHelper:
MThread

List of all members.

Public Member Functions

 PlaybackBoxHelper (QObject *listener)
 ~PlaybackBoxHelper (void)
void ForceFreeSpaceUpdate (void)
void StopRecording (const ProgramInfo &)
void DeleteRecording (uint chanid, const QDateTime &recstartts, bool forceDelete, bool forgetHistory)
void DeleteRecordings (const QStringList &)
void UndeleteRecording (uint chanid, const QDateTime &recstartts)
void CheckAvailability (const ProgramInfo &, CheckAvailabilityType cat=kCheckForCache)
QString GetPreviewImage (const ProgramInfo &, bool check_availibility=true)
QString LocateArtwork (const QString &inetref, uint season, VideoArtworkType type, const ProgramInfo *pginfo, const QString &groupname=NULL)
uint64_t GetFreeSpaceTotalMB (void) const
uint64_t GetFreeSpaceUsedMB (void) const

Private Member Functions

void UpdateFreeSpace (void)

Private Attributes

QObject * m_listener
PBHEventHandlerm_eventHandler
QMutex m_lock
uint64_t m_freeSpaceTotalMB
uint64_t m_freeSpaceUsedMB
QHash< QString, QString > m_artworkFilenameCache

Friends

class PBHEventHandler

Detailed Description

Definition at line 30 of file playbackboxhelper.h.


Constructor & Destructor Documentation

PlaybackBoxHelper::PlaybackBoxHelper ( QObject *  listener  ) 

Definition at line 319 of file playbackboxhelper.cpp.

PlaybackBoxHelper::~PlaybackBoxHelper ( void   ) 

Definition at line 331 of file playbackboxhelper.cpp.


Member Function Documentation

void PlaybackBoxHelper::ForceFreeSpaceUpdate ( void   ) 
void PlaybackBoxHelper::StopRecording ( const ProgramInfo pginfo  ) 

Definition at line 347 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::StopSelected().

void PlaybackBoxHelper::DeleteRecording ( uint  chanid,
const QDateTime &  recstartts,
bool  forceDelete,
bool  forgetHistory 
)

Definition at line 355 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::RemoveProgram().

void PlaybackBoxHelper::DeleteRecordings ( const QStringList &  list  ) 
void PlaybackBoxHelper::UndeleteRecording ( uint  chanid,
const QDateTime &  recstartts 
)

Definition at line 373 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::Undelete().

void PlaybackBoxHelper::CheckAvailability ( const ProgramInfo pginfo,
CheckAvailabilityType  cat = kCheckForCache 
)
QString PlaybackBoxHelper::GetPreviewImage ( const ProgramInfo pginfo,
bool  check_availibility = true 
)
QString PlaybackBoxHelper::LocateArtwork ( const QString &  inetref,
uint  season,
VideoArtworkType  type,
const ProgramInfo pginfo,
const QString &  groupname = NULL 
)
uint64_t PlaybackBoxHelper::GetFreeSpaceTotalMB ( void   )  const

Definition at line 400 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::UpdateUsageUI().

uint64_t PlaybackBoxHelper::GetFreeSpaceUsedMB ( void   )  const

Definition at line 406 of file playbackboxhelper.cpp.

Referenced by PlaybackBox::UpdateUsageUI().

void PlaybackBoxHelper::UpdateFreeSpace ( void   )  [private]

Definition at line 383 of file playbackboxhelper.cpp.

Referenced by PBHEventHandler::UpdateFreeSpaceEvent().


Friends And Related Function Documentation

friend class PBHEventHandler [friend]

Definition at line 32 of file playbackboxhelper.h.


Member Data Documentation

QObject* PlaybackBoxHelper::m_listener [private]
QMutex PlaybackBoxHelper::m_lock [mutable, private]

Definition at line 65 of file playbackboxhelper.h.

Referenced by GetFreeSpaceTotalMB(), and UpdateFreeSpace().

Definition at line 66 of file playbackboxhelper.h.

Referenced by GetFreeSpaceUsedMB(), and UpdateFreeSpace().

QHash<QString, QString> PlaybackBoxHelper::m_artworkFilenameCache [private]

Definition at line 69 of file playbackboxhelper.h.

Referenced by PBHEventHandler::event(), and LocateArtwork().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:20 2012 for MythTV by  doxygen 1.6.3