You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amarok/amarok/src/engine/akode/akode-engine.h

43 lines
1.4 KiB

/***************************************************************************
* Copyright (C) 2005 Max Howell <max.howell@methylblue.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "enginebase.h"
#include "akode-scope.h"
namespace aKode { class Player; }
class AkodeEngine : public Engine::Base
{
virtual bool init();
virtual bool canDecode( const KURL& ) const;
virtual uint position() const;
virtual bool load( const KURL&, bool );
virtual bool play( uint );
virtual void stop();
virtual void pause();
virtual void unpause();
virtual void setVolumeSW( uint );
virtual void seek( uint );
virtual Engine::State state() const;
virtual const Engine::Scope &scope();
virtual bool event( TQEvent* );
aKode::Player *m_player;
aKodeScope m_scope;
protected:
~AkodeEngine();
public:
AkodeEngine();
};