equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2005 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MMMAPLAYERINSTANCEOBSERVER_H |
|
20 #define MMMAPLAYERINSTANCEOBSERVER_H |
|
21 |
|
22 // FORWARD DECLARATIONS |
|
23 class CMMAPlayer; |
|
24 |
|
25 |
|
26 // CLASS DEFINITION |
|
27 /* |
|
28 ----------------------------------------------------------------------------- |
|
29 |
|
30 DESCRIPTION |
|
31 |
|
32 Interface used to inform external components about player instances. |
|
33 ----------------------------------------------------------------------------- |
|
34 */ |
|
35 NONSHARABLE_CLASS(MMMAPlayerInstanceObserver) |
|
36 { |
|
37 public: |
|
38 /** |
|
39 * Adds new player to observer. |
|
40 * |
|
41 * @param aPlayer Player instance to add. |
|
42 */ |
|
43 virtual void AddPlayerNotifyL(CMMAPlayer* aPlayer) = 0; |
|
44 |
|
45 /** |
|
46 * Removes player from observer. |
|
47 * |
|
48 * @param aPlayer Player instance to remove. |
|
49 */ |
|
50 virtual void RemovePlayerNotify(CMMAPlayer* aPlayer) = 0; |
|
51 |
|
52 protected: |
|
53 /** |
|
54 * Deletion through this interface is not allowed. |
|
55 */ |
|
56 virtual ~MMMAPlayerInstanceObserver() {}; |
|
57 }; |
|
58 |
|
59 #endif // MMMAPLAYERINSTANCEOBSERVER_H |
|