Chris@394: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@394: Chris@394: /* Chris@394: Sonic Visualiser Chris@394: An audio file viewer and annotation editor. Chris@394: Centre for Digital Music, Queen Mary, University of London. Chris@394: This file copyright 2006 Chris Cannam. Chris@394: Chris@394: This program is free software; you can redistribute it and/or Chris@394: modify it under the terms of the GNU General Public License as Chris@394: published by the Free Software Foundation; either version 2 of the Chris@394: License, or (at your option) any later version. See the file Chris@394: COPYING included with this distribution for more information. Chris@394: */ Chris@394: Chris@394: #ifndef _PLAYABLE_H_ Chris@394: #define _PLAYABLE_H_ Chris@394: Chris@394: #include Chris@394: Chris@394: class Playable Chris@394: { Chris@394: public: Chris@394: virtual ~Playable() { } Chris@394: Chris@394: virtual bool canPlay() const { return false; } Chris@394: virtual QString getDefaultPlayPluginId() const { return ""; } Chris@394: virtual QString getDefaultPlayPluginConfiguration() const { return ""; } Chris@394: }; Chris@394: Chris@394: #endif