author | simon <simon> | 2002-12-02 19:40:58 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 19:40:58 (UTC) |
commit | 1706751f05c1d4312beb1ca939a156b090c7b5f6 (patch) (side-by-side diff) | |
tree | a33d7a618d2e8599fd999e78d6eeaea0372adb78 /noncore/multimedia/opieplayer2/mediawidget.h | |
parent | 31443fddddcb3e43bd32bb2f5e9553255d8309a8 (diff) | |
download | opie-1706751f05c1d4312beb1ca939a156b090c7b5f6.zip opie-1706751f05c1d4312beb1ca939a156b090c7b5f6.tar.gz opie-1706751f05c1d4312beb1ca939a156b090c7b5f6.tar.bz2 |
- new base class for AudioWidget and VideoWidget
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h new file mode 100644 index 0000000..cbd08e2 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/mediawidget.h @@ -0,0 +1,40 @@ +/* + Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +#ifndef MEDIAWIDGET_H +#define MEDIAWIDGET_H + +#include <qwidget.h> + +#include "mediaplayerstate.h" + +class MediaWidget : public QWidget +{ + Q_OBJECT +public: + MediaWidget( QWidget *parent = 0, const char *name = 0 ); + virtual ~MediaWidget(); + +public slots: + virtual void setDisplayType( MediaPlayerState::DisplayType displayType ) = 0; +}; + +#endif // MEDIAWIDGET_H +/* vim: et sw=4 ts=4 + */ |