|
1 /* |
|
2 * Copyright (c) 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 #ifndef MEMSPYDRIVERLOGICALCHANMISC_H |
|
19 #define MEMSPYDRIVERLOGICALCHANMISC_H |
|
20 |
|
21 // System includes |
|
22 #include <e32cmn.h> |
|
23 #include <kern_priv.h> |
|
24 |
|
25 // User includes |
|
26 #include "MemSpyDriverLogChanBase.h" |
|
27 |
|
28 // Classes referenced |
|
29 class DMemSpyDriverDevice; |
|
30 |
|
31 |
|
32 class DMemSpyDriverLogChanMisc : public DMemSpyDriverLogChanBase |
|
33 { |
|
34 public: |
|
35 DMemSpyDriverLogChanMisc( DMemSpyDriverDevice& aDevice, DThread& aThread ); |
|
36 ~DMemSpyDriverLogChanMisc(); |
|
37 |
|
38 public: // From DMemSpyDriverLogChanBase |
|
39 TInt Request( TInt aFunction, TAny* a1, TAny* a2 ); |
|
40 TBool IsHandler( TInt aFunction ) const; |
|
41 |
|
42 private: // Channel operation handlers |
|
43 TInt SetRHeapVTable( TAny* aRHeapVTable ); |
|
44 TInt GetMemoryModelType(); |
|
45 TInt GetRoundToPageSize( TUint32* aValue ); |
|
46 TInt Impersonate( TUint32 aValue ); |
|
47 |
|
48 private: // Data members |
|
49 TUint32 iSID; |
|
50 TUint32 iSecurityZone; |
|
51 TBool iClientIsMemSpy; |
|
52 }; |
|
53 |
|
54 |
|
55 #endif |