Commit f44a3fb6 authored by Scott Wheeler's avatar Scott Wheeler

Move the PlaylistInterface into a file of its own. (Since it's nice and

lightweight and I'd like to include it lots of places at some point.)

svn path=/trunk/kdemultimedia/juk/; revision=291936
parent 30148330
......@@ -24,6 +24,7 @@
#include <qtimer.h>
#include "playermanager.h"
#include "playlistinterface.h"
#include "slideraction.h"
#include "statuslabel.h"
......
......@@ -25,19 +25,7 @@
class QTimer;
class SliderAction;
class StatusLabel;
/**
* This is a simple interface that should be implemented by objects used by
* the PlayerManager.
*/
class PlaylistInterface
{
public:
virtual QString nextFile() = 0;
virtual QString currentFile() = 0;
virtual QString previousFile() = 0;
};
class PlaylistInterface;
/**
* This class serves as a proxy to the Player interface and handles managing
......
/***************************************************************************
playermanager.h
-------------------
begin : Fri Feb 27 2004
copyright : (C) 2004 by Scott Wheeler
email : wheeler@kde.org
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#ifndef PLAYLISTINTERFACE_H
#define PLAYLISTINTERFACE_H
/**
* This is a simple interface that should be used by things that implement a
* playlist-like API.
*/
class PlaylistInterface
{
public:
virtual QString nextFile() = 0;
virtual QString currentFile() = 0;
virtual QString previousFile() = 0;
};
#endif
......@@ -29,7 +29,7 @@
#include "stringhash.h"
#include "tageditor.h"
#include "tagguesser.h"
#include "playermanager.h"
#include "playlistinterface.h"
class KActionMenu;
class KDirWatch;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment