equal
deleted
inserted
replaced
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 MEMSPYAPIPKERNELOBJECT_H |
|
19 #define MEMSPYAPIPKERNELOBJECT_H |
|
20 |
|
21 // System includes |
|
22 #include <e32base.h> |
|
23 |
|
24 #include <memspy/driver/memspydriverenumerationsshared.h> |
|
25 |
|
26 class TMemSpyKernelObjectData; |
|
27 |
|
28 NONSHARABLE_CLASS( CMemSpyApiKernelObject ) |
|
29 { |
|
30 public: |
|
31 IMPORT_C ~CMemSpyApiKernelObject(); |
|
32 |
|
33 static CMemSpyApiKernelObject* NewL(const TMemSpyKernelObjectData& aData); |
|
34 |
|
35 static CMemSpyApiKernelObject* NewLC(const TMemSpyKernelObjectData& aData); |
|
36 |
|
37 public: |
|
38 IMPORT_C TMemSpyDriverContainerType Type() const; |
|
39 |
|
40 IMPORT_C const TDesC& Name() const; |
|
41 |
|
42 IMPORT_C TInt Count() const; |
|
43 |
|
44 IMPORT_C TInt64 Size() const; |
|
45 |
|
46 private: |
|
47 CMemSpyApiKernelObject(); |
|
48 |
|
49 void ConstructL(const TMemSpyKernelObjectData& aData); |
|
50 |
|
51 private: |
|
52 TMemSpyKernelObjectData *iKernelObjectData; |
|
53 }; |
|
54 |
|
55 |
|
56 #endif // MEMSPYAPIPKERNELOBJECT_H |
|