author | zecke <zecke> | 2002-07-10 15:38:28 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-07-10 15:38:28 (UTC) |
commit | 0439137e4c18ad7d10002e2da6bea20b57ae1dec (patch) (side-by-side diff) | |
tree | efa27e6218d0f94c513a82521fdea591b4eff18a /noncore/multimedia | |
parent | 5f0da29ff2f22c017d0aec7b6f1f493120b84f8c (diff) | |
download | opie-0439137e4c18ad7d10002e2da6bea20b57ae1dec.zip opie-0439137e4c18ad7d10002e2da6bea20b57ae1dec.tar.gz opie-0439137e4c18ad7d10002e2da6bea20b57ae1dec.tar.bz2 |
Update the c'tor
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 3 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 69ff492..3f2eea6 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp @@ -2,12 +2,13 @@ #include <stdio.h> #include <stdlib.h> //#include <qpe/qpeapplication.h> #include <qfile.h> +#include "xinevideowidget.h" #include "frame.h" #include "lib.h" extern "C" { vo_driver_t* init_video_out_plugin( config_values_t* conf, void* video); @@ -19,13 +20,13 @@ extern "C" { void null_set_scaling( vo_driver_t* self, int scale ); } using namespace XINE; -Lib::Lib() { +Lib::Lib(XineVideoWidget* /*widget*/) { printf("Lib"); QCString str( getenv("HOME") ); str += "/Settings/opiexine.cf"; // get the configuration m_config = xine_config_file_init( str.data() ); diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h index 00a1248..1d0d3af 100644 --- a/noncore/multimedia/opieplayer2/lib.h +++ b/noncore/multimedia/opieplayer2/lib.h @@ -6,12 +6,14 @@ #include <qcstring.h> #include <qstring.h> #include <qobject.h> #include <xine.h> +class XineVideoWidget; + namespace XINE { /** * Lib wrapps the simple interface * of libxine for easy every day use * This will become a full C++ Wrapper @@ -19,13 +21,13 @@ namespace XINE { * stooping, seeking. */ class Frame; class Lib : public QObject { Q_OBJECT public: - Lib(); + Lib(XineVideoWidget* = 0); ~Lib(); QCString version(); int majorVersion()/*const*/; int minorVersion()/*const*/; int subVersion()/*const*/; |