|
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 MEMSPYDRIVERLOGICALCHANPROCESSINSPECTION_H |
|
19 #define MEMSPYDRIVERLOGICALCHANPROCESSINSPECTION_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 class TMemSpyDriverProcessInspectionInfo; |
|
31 |
|
32 |
|
33 class DMemSpyDriverLogChanProcessInspection : public DMemSpyDriverLogChanBase |
|
34 { |
|
35 public: |
|
36 DMemSpyDriverLogChanProcessInspection( DMemSpyDriverDevice& aDevice, DThread& aThread ); |
|
37 ~DMemSpyDriverLogChanProcessInspection(); |
|
38 |
|
39 public: // From DMemSpyDriverLogChanBase |
|
40 TInt Request( TInt aFunction, TAny* a1, TAny* a2 ); |
|
41 TBool IsHandler( TInt aFunction ) const; |
|
42 |
|
43 private: // Channel operation handlers |
|
44 TInt ProcessInspectionOpen( TUint aPid ); |
|
45 TInt ProcessInspectionClose( TUint aPid ); |
|
46 TInt ProcessInspectionRequestChanges( TRequestStatus* aStatus, TMemSpyDriverProcessInspectionInfo* aInfo ); |
|
47 TInt ProcessInspectionRequestChangesCancel( TUint aPid ); |
|
48 TInt ProcessInspectionAutoStartItemsClear(); |
|
49 TInt ProcessInspectionAutoStartItemsAdd( TUint aSID ); |
|
50 |
|
51 private: // Data members |
|
52 }; |
|
53 |
|
54 |
|
55 #endif |