equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: mpplaybackdata stub for testing mpmediawallview |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPPLAYBACKDATA_H |
|
19 #define MPPLAYBACKDATA_H |
|
20 |
|
21 //includes |
|
22 #include <QObject> |
|
23 #include <QMetaType> |
|
24 #include <hbicon.h> |
|
25 |
|
26 class MpPlaybackData : public QObject |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 |
|
32 enum SimplifiedState { |
|
33 NotPlaying, |
|
34 Playing, |
|
35 Paused, |
|
36 Stopped |
|
37 }; |
|
38 |
|
39 |
|
40 explicit MpPlaybackData(); |
|
41 virtual ~MpPlaybackData(); |
|
42 |
|
43 signals: |
|
44 void playbackStateChanged(); |
|
45 void playbackInfoChanged(); |
|
46 |
|
47 public: |
|
48 |
|
49 int id(); |
|
50 void setPlaybackState( const SimplifiedState state ); |
|
51 MpPlaybackData::SimplifiedState playbackState() const; |
|
52 |
|
53 public: |
|
54 |
|
55 MpPlaybackData::SimplifiedState mPlaybackState; |
|
56 }; |
|
57 |
|
58 #endif // MPPLAYBACKDATA_H |