memspy/MemSpyClient/inc/memspyapiprocess.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 49 7fdc9a71d314
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
     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 MEMSPYAPIPROCESS_H
       
    19 #define MEMSPYAPIPROCESS_H
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 
       
    24 class TMemSpyProcessData;
       
    25 
       
    26 NONSHARABLE_CLASS( CMemSpyApiProcess ) 
       
    27 	{
       
    28 public:
       
    29 	IMPORT_C ~CMemSpyApiProcess();
       
    30 	
       
    31 	static CMemSpyApiProcess* NewL(const TMemSpyProcessData& aData);
       
    32 
       
    33 	static CMemSpyApiProcess* NewLC(const TMemSpyProcessData& aData);
       
    34 	
       
    35 public:
       
    36 	IMPORT_C TProcessId Id() const;
       
    37 	
       
    38 	IMPORT_C const TDesC& Name() const;	
       
    39 	
       
    40 	IMPORT_C TExitCategoryName ExitCategory() const;
       
    41 	
       
    42 	IMPORT_C TInt ExitReason() const;
       
    43 	
       
    44 	IMPORT_C TExitType ExitType() const;
       
    45 	
       
    46 	IMPORT_C TInt ThreadCount() const;
       
    47 	
       
    48 	IMPORT_C TUint32 SID() const;
       
    49 	
       
    50 	IMPORT_C TUint32 VID() const;
       
    51 	
       
    52 	IMPORT_C TProcessPriority Priority() const;
       
    53 	
       
    54 	IMPORT_C TBool IsDead() const;
       
    55 	
       
    56 	
       
    57 private:
       
    58 	CMemSpyApiProcess();
       
    59 	
       
    60 	void ConstructL(const TMemSpyProcessData& aData);
       
    61 		
       
    62 private:
       
    63 	TMemSpyProcessData *iProcessData;
       
    64 };
       
    65 
       
    66 	
       
    67 #endif // MEMSPYAPIPROCESS_H