equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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 that |
|
15 * CMMASourceStream is ready |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MMMASOURCESTREAMLISTENER_H |
|
21 #define MMMASOURCESTREAMLISTENER_H |
|
22 |
|
23 // CLASS DEFINITION |
|
24 /** |
|
25 |
|
26 This interface is used for informing player that CMMASourceStream is ready |
|
27 |
|
28 */ |
|
29 NONSHARABLE_CLASS(MMMASourceStreamListener) // usually not derived |
|
30 { |
|
31 public: // New methods |
|
32 /** |
|
33 * This method will be called when source stream read operation |
|
34 * is ready or error occures. |
|
35 * |
|
36 * @param aStatus Status of the reading operation or one of the system |
|
37 * error codes. |
|
38 * @param aData Reference to read data. If an error occured reference |
|
39 * to zero length descriptor. |
|
40 */ |
|
41 virtual void ReadCompletedL(TInt aStatus, const TDesC8& aData) = 0; |
|
42 |
|
43 protected: // Destructor |
|
44 /** |
|
45 * Do not allow delete trough this interface. |
|
46 */ |
|
47 virtual ~MMMASourceStreamListener() |
|
48 { |
|
49 }; |
|
50 }; |
|
51 |
|
52 #endif // MMMASOURCESTREAMLISTENER_H |