summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.h
authorzecke <zecke>2002-07-09 13:49:34 (UTC)
committer zecke <zecke>2002-07-09 13:49:34 (UTC)
commit87bb55055c826b6c75d4a66a7ff6e21058cf6361 (patch) (side-by-side diff)
tree000f68448ce3b903da00a3e5a2ad24140a18f85b /noncore/multimedia/opieplayer2/lib.h
parente99adc2029808f6276474c95e8587607a4bd8091 (diff)
downloadopie-87bb55055c826b6c75d4a66a7ff6e21058cf6361.zip
opie-87bb55055c826b6c75d4a66a7ff6e21058cf6361.tar.gz
opie-87bb55055c826b6c75d4a66a7ff6e21058cf6361.tar.bz2
Update the lib
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.h47
1 files changed, 46 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h
index d9dc931..00a1248 100644
--- a/noncore/multimedia/opieplayer2/lib.h
+++ b/noncore/multimedia/opieplayer2/lib.h
@@ -5,6 +5,8 @@
#include <qcstring.h>
#include <qstring.h>
+#include <qobject.h>
+
#include <xine.h>
namespace XINE {
@@ -17,7 +19,8 @@ namespace XINE {
* stooping, seeking.
*/
class Frame;
- class Lib {
+ class Lib : public QObject {
+ Q_OBJECT
public:
Lib();
~Lib();
@@ -45,14 +48,56 @@ namespace XINE {
bool isSeekable()/*const*/;
+ /**
+ * Whether or not to show video output
+ */
+ void setShowVideo(bool video);
+
+ /**
+ * is we show video
+ */
+ bool isShowingVideo() /*const*/;
+
+ /**
+ *
+ */
+ void showVideoFullScreen( bool fullScreen );
+
+ /**
+ *
+ */
+ bool isVideoFullScreen()/*const*/ ;
+
+ /**
+ *
+ */
+ bool isScaling();
+
+ /**
+ *
+ */
+ void setScaling( bool );
+ /**
+ * test
+ */
Frame currentFrame()/*const*/;
+
+ /**
+ * Returns the error code
+ */
int error() /*const*/;
+
+ signals:
+ void stopped();
private:
xine_t *m_xine;
config_values_t *m_config;
vo_driver_t *m_videoOutput;
ao_driver_t* m_audioOutput;
+ void handleXineEvent( xine_event_t* t );
+ // C -> C++ bridge for the event system
+ static void xine_event_handler( void* user_data, xine_event_t* t);
};
};