mmfenh/enhancedmediaclient/Client/src/Components/EventObjects/StateChangedEvent.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: header of StateChangedEvent class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef StateChangedEvent_H |
|
20 #define StateChangedEvent_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <Events.h> |
|
24 #include "EventBase.h" |
|
25 #include <StreamControl.h> |
|
26 |
|
27 using multimedia::MStreamControl; |
|
28 |
|
29 namespace multimedia |
|
30 { |
|
31 class CStateChangedEvent : public CEventBase, |
|
32 public MStateChangedEvent |
|
33 { |
|
34 public: |
|
35 CStateChangedEvent( MStreamControl::TStreamState aState, TInt aReason ); |
|
36 ~CStateChangedEvent(); |
|
37 |
|
38 // From CEventBase |
|
39 TAny* GetInterface(); |
|
40 |
|
41 // From MStateChangedEvent begins |
|
42 MStreamControl::TStreamState GetState(); |
|
43 TInt GetErrorCode(); |
|
44 // From MStateChangedEvent ends |
|
45 |
|
46 |
|
47 |
|
48 private: |
|
49 MStreamControl::TStreamState iState; |
|
50 TInt iReason; |
|
51 }; |
|
52 } // namespace multimedia |
|
53 |
|
54 #endif // StateChangedEventOBJECT_H |
|
55 |
|
56 // End of file |