equal
deleted
inserted
replaced
1 // Copyright (c) 2004-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 AVRCPTIMER_H |
|
17 #define AVRCPTIMER_H |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 @released |
|
23 */ |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 class CControlCommand; |
|
28 NONSHARABLE_CLASS(TAvrcpTimerExpiryInfo) |
|
29 { |
|
30 public: |
|
31 inline TAvrcpTimerExpiryInfo(CBase* aHandler, CControlCommand& aCommand); |
|
32 public: |
|
33 CBase* iHandler; |
|
34 CControlCommand& iCommand; |
|
35 }; |
|
36 |
|
37 |
|
38 //------------------------------------------------------------------------------------ |
|
39 // TAvrcpTimerEntry |
|
40 //------------------------------------------------------------------------------------ |
|
41 |
|
42 /** Constructor. |
|
43 |
|
44 @param aHandler The CommandHandler to be informed on timer expiry. |
|
45 @param aCommand The CControlCommand that this timer event relates to. |
|
46 @return A fully constructed TAvrcpTimerExpiryInfo. |
|
47 */ |
|
48 inline TAvrcpTimerExpiryInfo::TAvrcpTimerExpiryInfo(CBase* aHandler, CControlCommand& aCommand) |
|
49 : iHandler(aHandler), iCommand(aCommand) |
|
50 { |
|
51 } |
|
52 |
|
53 #endif // AVRCPTIMER_H |
|