Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index dfddc2a..ab432a0 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h | |||
@@ -22,43 +22,42 @@ | |||
22 | ..}^=.= = ; Library General Public License for more | 22 | ..}^=.= = ; Library General Public License for more |
23 | ++= -. .` .: details. | 23 | ++= -. .` .: details. |
24 | : = ...= . :.=- | 24 | : = ...= . :.=- |
25 | -. .:....=;==+<; You should have received a copy of the GNU | 25 | -. .:....=;==+<; You should have received a copy of the GNU |
26 | -_. . . )=. = Library General Public License along with | 26 | -_. . . )=. = Library General Public License along with |
27 | -- :-=` this library; see the file COPYING.LIB. | 27 | -- :-=` this library; see the file COPYING.LIB. |
28 | If not, write to the Free Software Foundation, | 28 | If not, write to the Free Software Foundation, |
29 | Inc., 59 Temple Place - Suite 330, | 29 | Inc., 59 Temple Place - Suite 330, |
30 | Boston, MA 02111-1307, USA. | 30 | Boston, MA 02111-1307, USA. |
31 | 31 | ||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #ifndef ZECKEXINELIB_H | 34 | #ifndef XINE_VIDEO_LIB_H |
35 | #define ZECKEXINELIB_H | 35 | #define XINE_VIDEO_LIB_H |
36 | 36 | ||
37 | #include <xine.h> | 37 | #include <xine.h> |
38 | 38 | ||
39 | #include "threadutil.h" | 39 | #include "threadutil.h" |
40 | 40 | ||
41 | class XineVideoWidget; | 41 | class XineVideoWidget; |
42 | 42 | ||
43 | namespace XINE { | 43 | namespace XINE { |
44 | 44 | ||
45 | /** | 45 | /** |
46 | * Lib wrapps the simple interface | 46 | * Lib wrapps the simple interface |
47 | * of libxine for easy every day use | 47 | * of libxine for easy every day use |
48 | * This will become a full C++ Wrapper | 48 | * This will become a full C++ Wrapper |
49 | * It supports playing, pausing, info, | 49 | * It supports playing, pausing, info, |
50 | * stooping, seeking. | 50 | * stooping, seeking. |
51 | */ | 51 | */ |
52 | class Frame; | ||
53 | class Lib : public ThreadUtil::Channel, private ThreadUtil::Thread | 52 | class Lib : public ThreadUtil::Channel, private ThreadUtil::Thread |
54 | { | 53 | { |
55 | Q_OBJECT | 54 | Q_OBJECT |
56 | public: | 55 | public: |
57 | enum InitializationMode { InitializeImmediately, InitializeInThread }; | 56 | enum InitializationMode { InitializeImmediately, InitializeInThread }; |
58 | 57 | ||
59 | Lib( InitializationMode initMode, XineVideoWidget* = 0); | 58 | Lib( InitializationMode initMode, XineVideoWidget* = 0); |
60 | 59 | ||
61 | ~Lib(); | 60 | ~Lib(); |
62 | static int majorVersion(); | 61 | static int majorVersion(); |
63 | static int minorVersion(); | 62 | static int minorVersion(); |
64 | static int subVersion(); | 63 | static int subVersion(); |
@@ -150,29 +149,24 @@ namespace XINE { | |||
150 | /** | 149 | /** |
151 | * | 150 | * |
152 | */ | 151 | */ |
153 | void setScaling( bool ); | 152 | void setScaling( bool ); |
154 | 153 | ||
155 | /** | 154 | /** |
156 | * Set the Gamma value for video output | 155 | * Set the Gamma value for video output |
157 | * @param int the value between -100 and 100, 0 is original | 156 | * @param int the value between -100 and 100, 0 is original |
158 | */ | 157 | */ |
159 | void setGamma( int ); | 158 | void setGamma( int ); |
160 | 159 | ||
161 | /** | 160 | /** |
162 | * test | ||
163 | */ | ||
164 | Frame currentFrame() const; | ||
165 | |||
166 | /** | ||
167 | * Returns the error code | 161 | * Returns the error code |
168 | * XINE_ERROR_NONE 0 | 162 | * XINE_ERROR_NONE 0 |
169 | * XINE_ERROR_NO_INPUT_PLUGIN 1 | 163 | * XINE_ERROR_NO_INPUT_PLUGIN 1 |
170 | * XINE_ERROR_NO_DEMUXER_PLUGIN 2 | 164 | * XINE_ERROR_NO_DEMUXER_PLUGIN 2 |
171 | * XINE_ERROR_DEMUXER_FAILED 3 | 165 | * XINE_ERROR_DEMUXER_FAILED 3 |
172 | */ | 166 | */ |
173 | int error() const; | 167 | int error() const; |
174 | 168 | ||
175 | void ensureInitialized(); | 169 | void ensureInitialized(); |
176 | 170 | ||
177 | void setWidget( XineVideoWidget *widget ); | 171 | void setWidget( XineVideoWidget *widget ); |
178 | 172 | ||