MythTV  master
Classes | Typedefs | Enumerations
mythmedia.h File Reference
#include <QObject>
#include <QMap>
#include <QString>
#include <QEvent>
#include <QPointer>
#include "mythbaseexp.h"
Include dependency graph for mythmedia.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythMediaDevice
 
class  MythMediaEvent
 

Typedefs

typedef QMap< QString, uintext_cnt_t
 
typedef QMap< QString, uintext_to_media_t
 

Enumerations

enum  MythMediaStatus {
  MEDIASTAT_ERROR, MEDIASTAT_UNKNOWN, MEDIASTAT_UNPLUGGED, MEDIASTAT_OPEN,
  MEDIASTAT_NODISK, MEDIASTAT_UNFORMATTED, MEDIASTAT_USEABLE, MEDIASTAT_NOTMOUNTED,
  MEDIASTAT_MOUNTED
}
 
enum  MythMediaType {
  MEDIATYPE_UNKNOWN = 0x0001, MEDIATYPE_DATA = 0x0002, MEDIATYPE_MIXED = 0x0004, MEDIATYPE_AUDIO = 0x0008,
  MEDIATYPE_DVD = 0x0010, MEDIATYPE_VCD = 0x0020, MEDIATYPE_MMUSIC = 0x0040, MEDIATYPE_MVIDEO = 0x0080,
  MEDIATYPE_MGALLERY = 0x0100, MEDIATYPE_BD = 0x0200, MEDIATYPE_END = 0x0400
}
 
enum  MythMediaError { MEDIAERR_OK, MEDIAERR_FAILED, MEDIAERR_UNSUPPORTED }
 

Typedef Documentation

◆ ext_cnt_t

typedef QMap<QString,uint> ext_cnt_t

Definition at line 45 of file mythmedia.h.

◆ ext_to_media_t

typedef QMap<QString,uint> ext_to_media_t

Definition at line 46 of file mythmedia.h.

Enumeration Type Documentation

◆ MythMediaStatus

Enumerator
MEDIASTAT_ERROR 

Unable to mount, but could be usable.

MEDIASTAT_UNKNOWN 
MEDIASTAT_UNPLUGGED 
MEDIASTAT_OPEN 

CD/DVD tray open (meaningless for non-CDs?)

MEDIASTAT_NODISK 

CD/DVD tray closed but empty, device unusable.

MEDIASTAT_UNFORMATTED 

For devices/media a plugin might erase/format.

MEDIASTAT_USEABLE 
MEDIASTAT_NOTMOUNTED 
MEDIASTAT_MOUNTED 

Definition at line 12 of file mythmedia.h.

◆ MythMediaType

Enumerator
MEDIATYPE_UNKNOWN 
MEDIATYPE_DATA 
MEDIATYPE_MIXED 
MEDIATYPE_AUDIO 
MEDIATYPE_DVD 
MEDIATYPE_VCD 
MEDIATYPE_MMUSIC 
MEDIATYPE_MVIDEO 
MEDIATYPE_MGALLERY 
MEDIATYPE_BD 
MEDIATYPE_END 

Definition at line 24 of file mythmedia.h.

◆ MythMediaError

Enumerator
MEDIAERR_OK 
MEDIAERR_FAILED 
MEDIAERR_UNSUPPORTED 

Definition at line 39 of file mythmedia.h.