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 * Contains the declaration of CMemSpyProcess class |
|
16 */ |
|
17 |
|
18 #ifndef MEMSPYAPISERVER_H |
|
19 #define MEMSPYAPISERVER_H |
|
20 |
|
21 // System includes |
|
22 #include <e32base.h> |
|
23 |
|
24 class TMemSpyServerData; |
|
25 |
|
26 NONSHARABLE_CLASS( CMemSpyApiServer ) |
|
27 { |
|
28 public: |
|
29 IMPORT_C ~CMemSpyApiServer(); |
|
30 |
|
31 static CMemSpyApiServer* NewL(const TMemSpyServerData& aData); |
|
32 |
|
33 static CMemSpyApiServer* NewLC(const TMemSpyServerData& aData); |
|
34 |
|
35 public: |
|
36 IMPORT_C TProcessId Id() const; |
|
37 |
|
38 IMPORT_C const TDesC& Name() const; |
|
39 |
|
40 IMPORT_C TInt SessionCount() const; |
|
41 |
|
42 private: |
|
43 CMemSpyApiServer(); |
|
44 |
|
45 void ConstructL(const TMemSpyServerData& aData); |
|
46 |
|
47 private: |
|
48 TMemSpyServerData *iData; |
|
49 }; |
|
50 |
|
51 |
|
52 #endif // MEMSPYAPISERVER_H |