equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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: Audio Output Custom Interface Handler class |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <e32base.h> |
|
19 #include "AudioOutputCI.h" |
|
20 #include <mmfcontrollerframework.h> |
|
21 |
|
22 class CAudioOutputCustomInterfaceHandler : public CActive |
|
23 { |
|
24 public: |
|
25 /** |
|
26 * Two-phased constructor. |
|
27 */ |
|
28 static CAudioOutputCustomInterfaceHandler* NewL(); |
|
29 |
|
30 /** |
|
31 * Request to generate event |
|
32 * @aEvent The event to generate |
|
33 * @aError The error to report with the event |
|
34 * @since 3.0 |
|
35 */ |
|
36 void HandleRequest(TMMFMessage& aMessage); |
|
37 |
|
38 virtual ~CAudioOutputCustomInterfaceHandler(); |
|
39 |
|
40 private: |
|
41 |
|
42 /** |
|
43 * C++ default constructor. |
|
44 */ |
|
45 CAudioOutputCustomInterfaceHandler(); |
|
46 |
|
47 /** |
|
48 * By default Symbian 2nd phase constructor is private. |
|
49 */ |
|
50 void ConstructL(); |
|
51 |
|
52 void RunL(); |
|
53 |
|
54 void DoCancel(); |
|
55 |
|
56 /** |
|
57 * Used to complete a request |
|
58 */ |
|
59 void Ready(const TInt aStatus); |
|
60 |
|
61 private: |
|
62 |
|
63 TMMFMessage* iMessage; |
|
64 }; |
|
65 |