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

using ext_cnt_t = QMap< QString, uint >
 
using ext_to_media_t = QMap< QString, uint >
 

Enumerations

enum  MythMediaStatus : std::uint8_t {
  MEDIASTAT_ERROR, MEDIASTAT_UNKNOWN, MEDIASTAT_UNPLUGGED, MEDIASTAT_OPEN,
  MEDIASTAT_NODISK, MEDIASTAT_UNFORMATTED, MEDIASTAT_USEABLE, MEDIASTAT_NOTMOUNTED,
  MEDIASTAT_MOUNTED
}
 
enum  MythMediaType : std::uint16_t {
  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 : std::uint8_t { MEDIAERR_OK, MEDIAERR_FAILED, MEDIAERR_UNSUPPORTED }
 

Typedef Documentation

◆ ext_cnt_t

using ext_cnt_t = QMap<QString,uint>

Definition at line 45 of file mythmedia.h.

◆ ext_to_media_t

using ext_to_media_t = QMap<QString,uint>

Definition at line 46 of file mythmedia.h.

Enumeration Type Documentation

◆ MythMediaStatus

enum MythMediaStatus : std::uint8_t
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

enum MythMediaError : std::uint8_t
Enumerator
MEDIAERR_OK 
MEDIAERR_FAILED 
MEDIAERR_UNSUPPORTED 

Definition at line 39 of file mythmedia.h.