Changeset View
Changeset View
Standalone View
Standalone View
src/mediaplayer.h
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | |||||
57 | 57 | | |||
58 | private: | 58 | private: | ||
59 | ReleaseFunction m_release; | 59 | ReleaseFunction m_release; | ||
60 | 60 | | |||
61 | VLCArray **m_data; | 61 | VLCArray **m_data; | ||
62 | unsigned int m_size; | 62 | unsigned int m_size; | ||
63 | }; | 63 | }; | ||
64 | 64 | | |||
65 | #if (LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)) | ||||
65 | typedef Descriptions<libvlc_title_description_t> TitleDescriptions; | 66 | typedef Descriptions<libvlc_title_description_t> TitleDescriptions; | ||
66 | typedef QSharedPointer<const TitleDescriptions> SharedTitleDescriptions; | 67 | typedef QSharedPointer<const TitleDescriptions> SharedTitleDescriptions; | ||
67 | 68 | | |||
68 | typedef Descriptions<libvlc_chapter_description_t> ChapterDescriptions; | 69 | typedef Descriptions<libvlc_chapter_description_t> ChapterDescriptions; | ||
69 | typedef QSharedPointer<ChapterDescriptions> SharedChapterDescriptions; | 70 | typedef QSharedPointer<ChapterDescriptions> SharedChapterDescriptions; | ||
71 | #endif | ||||
70 | 72 | | |||
71 | class MediaPlayer : public QObject | 73 | class MediaPlayer : public QObject | ||
72 | { | 74 | { | ||
73 | Q_OBJECT | 75 | Q_OBJECT | ||
74 | public: | 76 | public: | ||
75 | enum State { | 77 | enum State { | ||
76 | NoState = 0, | 78 | NoState = 0, | ||
77 | OpeningState, | 79 | OpeningState, | ||
▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines |