equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef ABSOLUTEVOLUMESENDER_H |
|
17 #define ABSOLUTEVOLUMESENDER_H |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <absolutevolumeapicontroller.h> |
|
21 #include <remconinterfaceselector.h> |
|
22 |
|
23 /** |
|
24 @file |
|
25 @internalComponent |
|
26 @released |
|
27 */ |
|
28 |
|
29 NONSHARABLE_CLASS(CAbsVolSender) : public CActive |
|
30 { |
|
31 public: |
|
32 static CAbsVolSender* NewL(CRemConInterfaceSelector& aIfSel, MAbsVolSenderObserver& aObserver); |
|
33 ~CAbsVolSender(); |
|
34 |
|
35 void SendNotify(const TDesC8& aData); |
|
36 void SendSetAbsoluteVolume(TUint& aNumRemotes, const TDesC8& aData); |
|
37 |
|
38 private: |
|
39 void RunL(); |
|
40 void DoCancel(); |
|
41 |
|
42 CAbsVolSender(CRemConInterfaceSelector& aIfSel, MAbsVolSenderObserver& aObserver); |
|
43 |
|
44 private: |
|
45 CRemConInterfaceSelector& iIfSel; |
|
46 MAbsVolSenderObserver& iObserver; |
|
47 TBool iSendingNotify; |
|
48 }; |
|
49 |
|
50 #endif // ABSOLUTEVOLUMESENDER_H |
|