-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 | |||
@@ -4,8 +4,9 @@ | |||
4 | //#include <qpe/qpeapplication.h> | 4 | //#include <qpe/qpeapplication.h> |
5 | 5 | ||
6 | #include <qfile.h> | 6 | #include <qfile.h> |
7 | 7 | ||
8 | #include "xinevideowidget.h" | ||
8 | #include "frame.h" | 9 | #include "frame.h" |
9 | #include "lib.h" | 10 | #include "lib.h" |
10 | 11 | ||
11 | 12 | ||
@@ -21,9 +22,9 @@ extern "C" { | |||
21 | } | 22 | } |
22 | 23 | ||
23 | using namespace XINE; | 24 | using namespace XINE; |
24 | 25 | ||
25 | Lib::Lib() { | 26 | Lib::Lib(XineVideoWidget* /*widget*/) { |
26 | printf("Lib"); | 27 | printf("Lib"); |
27 | QCString str( getenv("HOME") ); | 28 | QCString str( getenv("HOME") ); |
28 | str += "/Settings/opiexine.cf"; | 29 | str += "/Settings/opiexine.cf"; |
29 | // get the configuration | 30 | // get the configuration |
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 | |||
@@ -8,8 +8,10 @@ | |||
8 | #include <qobject.h> | 8 | #include <qobject.h> |
9 | 9 | ||
10 | #include <xine.h> | 10 | #include <xine.h> |
11 | 11 | ||
12 | class XineVideoWidget; | ||
13 | |||
12 | namespace XINE { | 14 | namespace XINE { |
13 | 15 | ||
14 | /** | 16 | /** |
15 | * Lib wrapps the simple interface | 17 | * Lib wrapps the simple interface |
@@ -21,9 +23,9 @@ namespace XINE { | |||
21 | class Frame; | 23 | class Frame; |
22 | class Lib : public QObject { | 24 | class Lib : public QObject { |
23 | Q_OBJECT | 25 | Q_OBJECT |
24 | public: | 26 | public: |
25 | Lib(); | 27 | Lib(XineVideoWidget* = 0); |
26 | ~Lib(); | 28 | ~Lib(); |
27 | QCString version(); | 29 | QCString version(); |
28 | int majorVersion()/*const*/; | 30 | int majorVersion()/*const*/; |
29 | int minorVersion()/*const*/; | 31 | int minorVersion()/*const*/; |