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 the License "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 /** |
|
20 @file |
|
21 @internalComponent |
|
22 |
|
23 Definition of a private extension classes owned by the MMC stack |
|
24 */ |
|
25 |
|
26 NONSHARABLE_CLASS(DMMCStack::DBody) : public DBase |
|
27 { |
|
28 public: |
|
29 DBody(DMMCStack& aStack); |
|
30 |
|
31 // Methods to temporarily increase the idle timeout |
|
32 void SetInactivityTimeout(TInt aInactivityTimeout); |
|
33 void RestoreInactivityTimeout(); |
|
34 |
|
35 private: |
|
36 DMMCStack& iStack; |
|
37 |
|
38 TInt iInactivityTimeout; // Copy of DPBusPsuBase::iInactivityTimeout. Used by SetInactivityTimeout() |
|
39 TInt iVccCoreSleepTimeout; // Copy of DPBusPsuBase::iInactivityTimeout. for iVccCore Psu Sleep timer |
|
40 TInt iInactivityLock; // incremented whenever SetInactivityTimeout() is called, decremented by RestoreInactivityTimeout() |
|
41 TUint32 iCurrentSelectedBusWidth; // The currently set bus width |
|
42 TUint32 iCurrentSelectedClock; // The currently set clock rate in KiloHertz |
|
43 |
|
44 friend class DMMCStack; |
|
45 }; |