equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2007 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: This interface is used for informing player state changes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MMMAPLAYERSTATELISTENER_H |
|
20 #define MMMAPLAYERSTATELISTENER_H |
|
21 |
|
22 #include <e32def.h> |
|
23 |
|
24 // CLASS DEFINITION |
|
25 /** |
|
26 |
|
27 This interface is used for informing player state changes |
|
28 |
|
29 */ |
|
30 NONSHARABLE_CLASS(MMMAPlayerStateListener) |
|
31 { |
|
32 public: |
|
33 /** |
|
34 * Called when player state is changed. Used states are defined in |
|
35 * the player header file. Enumeration is not used to provide |
|
36 * expandability. |
|
37 * |
|
38 * @param aState New state of the player. |
|
39 */ |
|
40 virtual void StateChanged(TInt aState) = 0; |
|
41 |
|
42 protected: // Constructors and destructors |
|
43 /** |
|
44 * May not delete through this interface, |
|
45 * because destructor is protected. |
|
46 */ |
|
47 virtual ~MMMAPlayerStateListener() |
|
48 { |
|
49 }; |
|
50 }; |
|
51 |
|
52 |
|
53 #endif // MMMAPLAYERSTATELISTENER_H |