summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-02 11:29:43 (UTC)
committer simon <simon>2002-12-02 11:29:43 (UTC)
commitfcee8216cade787e0099c0aa43a5b8f90b24a85b (patch) (side-by-side diff)
tree612f8c1b263747b2ea2b2e2b0df3ca960e663766
parent5a7c8386e4d526558becf2553912eb42a42107ee (diff)
downloadopie-fcee8216cade787e0099c0aa43a5b8f90b24a85b.zip
opie-fcee8216cade787e0099c0aa43a5b8f90b24a85b.tar.gz
opie-fcee8216cade787e0099c0aa43a5b8f90b24a85b.tar.bz2
- Holger asked for removal of the QCString version() method (the one that
returns "test" :)
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.cpp6
-rw-r--r--noncore/multimedia/opieplayer2/lib.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp
index 77dab9a..96bdb21 100644
--- a/noncore/multimedia/opieplayer2/lib.cpp
+++ b/noncore/multimedia/opieplayer2/lib.cpp
@@ -119,38 +119,32 @@ Lib::Lib( XineVideoWidget* widget ) {
Lib::~Lib() {
// free( m_config );
xine_exit( m_xine );
/* FIXME either free or delete but valgrind bitches against both */
//free( m_videoOutput );
//delete m_audioOutput;
}
void Lib::resize ( const QSize &s ) {
if ( s. width ( ) && s. height ( ) ) {
::null_set_gui_width( m_videoOutput, s. width() );
::null_set_gui_height( m_videoOutput, s. height() );
}
}
-QCString Lib::version() {
- // QCString str( xine_get_str_version() );
- // return str;
- return "test";
-}
-
int Lib::majorVersion() {
int major, minor, sub;
xine_get_version ( &major, &minor, &sub );
return major;
}
int Lib::minorVersion() {
int major, minor, sub;
xine_get_version ( &major, &minor, &sub );
return minor;
}
int Lib::subVersion() {
int major, minor, sub;
xine_get_version ( &major, &minor, &sub );
return sub;
diff --git a/noncore/multimedia/opieplayer2/lib.h b/noncore/multimedia/opieplayer2/lib.h
index a7e51fb..3224cb9 100644
--- a/noncore/multimedia/opieplayer2/lib.h
+++ b/noncore/multimedia/opieplayer2/lib.h
@@ -47,33 +47,32 @@ class XineVideoWidget;
namespace XINE {
/**
* Lib wrapps the simple interface
* of libxine for easy every day use
* This will become a full C++ Wrapper
* It supports playing, pausing, info,
* stooping, seeking.
*/
class Frame;
class Lib : public ThreadUtil::Channel {
Q_OBJECT
public:
Lib(XineVideoWidget* = 0);
~Lib();
- QCString version();
static int majorVersion();
static int minorVersion();
static int subVersion();
void resize ( const QSize &s );
int play( const QString& fileName,
int startPos = 0,
int start_time = 0 );
void stop();
void pause();
int speed() const;
/**