Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index 191dbbd..38938a1 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h | |||
@@ -81,24 +81,25 @@ namespace XINE { | |||
81 | * XINE_SPEED_SLOW_2 2 | 81 | * XINE_SPEED_SLOW_2 2 |
82 | * XINE_SPEED_NORMAL 4 | 82 | * XINE_SPEED_NORMAL 4 |
83 | * XINE_SPEED_FAST_2 8 | 83 | * XINE_SPEED_FAST_2 8 |
84 | *XINE_SPEED_FAST_4 16 | 84 | *XINE_SPEED_FAST_4 16 |
85 | */ | 85 | */ |
86 | void setSpeed( int speed = XINE_SPEED_PAUSE ); | 86 | void setSpeed( int speed = XINE_SPEED_PAUSE ); |
87 | 87 | ||
88 | int status() /*const*/; | 88 | int status() /*const*/; |
89 | 89 | ||
90 | int currentPosition()/*const*/; | 90 | int currentPosition()/*const*/; |
91 | //in seconds | 91 | //in seconds |
92 | int currentTime()/*const*/; | 92 | int currentTime()/*const*/; |
93 | |||
93 | int length() /*const*/; | 94 | int length() /*const*/; |
94 | 95 | ||
95 | bool isSeekable()/*const*/; | 96 | bool isSeekable()/*const*/; |
96 | 97 | ||
97 | /** | 98 | /** |
98 | * Whether or not to show video output | 99 | * Whether or not to show video output |
99 | */ | 100 | */ |
100 | void setShowVideo(bool video); | 101 | void setShowVideo(bool video); |
101 | 102 | ||
102 | /** | 103 | /** |
103 | * is we show video | 104 | * is we show video |
104 | */ | 105 | */ |
@@ -163,25 +164,27 @@ namespace XINE { | |||
163 | Frame currentFrame()/*const*/; | 164 | Frame currentFrame()/*const*/; |
164 | 165 | ||
165 | /** | 166 | /** |
166 | * Returns the error code | 167 | * Returns the error code |
167 | * XINE_ERROR_NONE 0 | 168 | * XINE_ERROR_NONE 0 |
168 | * XINE_ERROR_NO_INPUT_PLUGIN 1 | 169 | * XINE_ERROR_NO_INPUT_PLUGIN 1 |
169 | * XINE_ERROR_NO_DEMUXER_PLUGIN 2 | 170 | * XINE_ERROR_NO_DEMUXER_PLUGIN 2 |
170 | * XINE_ERROR_DEMUXER_FAILED 3 | 171 | * XINE_ERROR_DEMUXER_FAILED 3 |
171 | */ | 172 | */ |
172 | int error() /*const*/; | 173 | int error() /*const*/; |
173 | 174 | ||
174 | signals: | 175 | signals: |
176 | |||
175 | void stopped(); | 177 | void stopped(); |
178 | |||
176 | private: | 179 | private: |
177 | int m_bytes_per_pixel; | 180 | int m_bytes_per_pixel; |
178 | int m_length, m_pos, m_time; | 181 | int m_length, m_pos, m_time; |
179 | int m_major_version, m_minor_version, m_sub_version; | 182 | int m_major_version, m_minor_version, m_sub_version; |
180 | bool m_video:1; | 183 | bool m_video:1; |
181 | XineVideoWidget *m_wid; | 184 | XineVideoWidget *m_wid; |
182 | xine_t *m_xine; | 185 | xine_t *m_xine; |
183 | xine_stream_t *m_stream; | 186 | xine_stream_t *m_stream; |
184 | xine_cfg_entry_t *m_config; | 187 | xine_cfg_entry_t *m_config; |
185 | xine_vo_driver_t *m_videoOutput; | 188 | xine_vo_driver_t *m_videoOutput; |
186 | xine_ao_driver_t* m_audioOutput; | 189 | xine_ao_driver_t* m_audioOutput; |
187 | xine_event_queue_t *m_queue; | 190 | xine_event_queue_t *m_queue; |