mmfenh/enhancedmediaclient/Client/src/Components/EventObjects/DataBufferProcessedEvent.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Definition of the DataBufferProcessedEvent class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef DATABUFFERPROCESSEDEVENT_H |
|
20 #define DATABUFFERPROCESSEDEVENT_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <DataBufferSource.h> |
|
24 #include "EventBase.h" |
|
25 |
|
26 namespace multimedia |
|
27 { |
|
28 class MDataBuffer; |
|
29 |
|
30 class CDataBufferProcessedEvent : public CEventBase, |
|
31 public MBufferProcessedEvent |
|
32 { |
|
33 public: |
|
34 CDataBufferProcessedEvent( MDataBuffer* aBuffer, TInt aReason ); |
|
35 ~CDataBufferProcessedEvent(); |
|
36 |
|
37 // From CEventBase |
|
38 TAny* GetInterface(); |
|
39 |
|
40 // From MStateChangedEvent begins |
|
41 virtual MDataBuffer* GetDataBuffer(); |
|
42 virtual TInt GetErrorCode(); |
|
43 // From MStateChangedEvent ends |
|
44 |
|
45 private: |
|
46 MDataBuffer* iDataBuffer; |
|
47 TInt iReason; |
|
48 }; |
|
49 } // namespace multimedia |
|
50 |
|
51 #endif // DATABUFFERPROCESSEDEVENT_H |
|
52 |
|
53 // End of file |