author | simon <simon> | 2002-12-02 18:11:26 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 18:11:26 (UTC) |
commit | 66979ef81a8e945f8d34db05399b1d92cdb3b67a (patch) (side-by-side diff) | |
tree | 1d99c8cceb3abae3be0947c712b0fa28d0c24d87 /noncore/multimedia/opieplayer2/mediaplayerstate.h | |
parent | 41fe383fe8b840de6dc0bcd47cd29b0d68bf760a (diff) | |
download | opie-66979ef81a8e945f8d34db05399b1d92cdb3b67a.zip opie-66979ef81a8e945f8d34db05399b1d92cdb3b67a.tar.gz opie-66979ef81a8e945f8d34db05399b1d92cdb3b67a.tar.bz2 |
- introducing MediaType { Video, Audio } enum, to get rid of the
char view ('a' and 'v') step by step
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index fc4e6cb..9474882 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -49,2 +49,4 @@ Q_OBJECT public: + enum MediaType { Audio, Video }; + MediaPlayerState( QObject *parent, const char *name ); @@ -64,2 +66,3 @@ public: char view() const { return curView; } + MediaType mediaType() const; @@ -110,2 +113,3 @@ signals: void viewChanged( char ); + void mediaTypeChanged( MediaType type ); void isSeekableToggled( bool ); |