memspy/MemSpyClient/inc/memspyapiprocess.h
changeset 17 67c6ff54ec25
child 22 a009639409f5
equal deleted inserted replaced
15:ccab7f1f8266 17:67c6ff54ec25
       
     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 private:
       
    49 	CMemSpyApiProcess();
       
    50 	
       
    51 	void ConstructL(const TMemSpyProcessData& aData);
       
    52 		
       
    53 private:
       
    54 	TMemSpyProcessData *iProcessData;
       
    55 };
       
    56 
       
    57 	
       
    58 #endif // MEMSPYAPIPROCESS_H