summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.h
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.h') (more/less context) (show 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
@@ -7,2 +7,4 @@
#include <qstring.h>
+#include <qobject.h>
+
#include <xine.h>
@@ -19,3 +21,4 @@ namespace XINE {
class Frame;
- class Lib {
+ class Lib : public QObject {
+ Q_OBJECT
public:
@@ -47,4 +50,43 @@ namespace XINE {
+ /**
+ * 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:
@@ -55,2 +97,5 @@ namespace XINE {
+ 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);
};