equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef REENUMERATOR_H |
|
24 #define REENUMERATOR_H |
|
25 |
|
26 #include <e32base.h> |
|
27 |
|
28 #ifdef __CHARGING_PLUGIN_TEST_CODE__ |
|
29 #include <dummyldd.h> |
|
30 #define __D32USBC_H__ // ensure that d32usbc is ignored |
|
31 #else |
|
32 #include <d32usbc.h> |
|
33 #endif |
|
34 |
|
35 class CUsbChargingReEnumerator : public CActive |
|
36 { |
|
37 public: |
|
38 static CUsbChargingReEnumerator* NewL(RDevUsbcClient& aLdd); |
|
39 ~CUsbChargingReEnumerator(); |
|
40 void ReEnumerate(); |
|
41 private: |
|
42 CUsbChargingReEnumerator(RDevUsbcClient& aLdd); |
|
43 void RunL(); |
|
44 void DoCancel(); |
|
45 |
|
46 private: |
|
47 RDevUsbcClient& iLdd; |
|
48 }; |
|
49 |
|
50 #endif // REENUMERATOR_H |