perfsrv/memspy/MemSpyClient/inc/memspyapiwindowgroup.h
changeset 55 f2950aff7424
equal deleted inserted replaced
48:516af714ebb4 55:f2950aff7424
       
     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 MEMSPYAPIWINDOWGROUP_H
       
    19 #define MEMSPYAPIWINDOWGROUP_H
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 #include <f32file.h>
       
    24 
       
    25 class TMemSpyEngineWindowGroupDetails;
       
    26 
       
    27 NONSHARABLE_CLASS( CMemSpyApiWindowGroup ) : public CBase
       
    28 	{
       
    29 public:
       
    30 	IMPORT_C ~CMemSpyApiWindowGroup();
       
    31 	
       
    32 	static CMemSpyApiWindowGroup* NewL(const TMemSpyEngineWindowGroupDetails& aData);
       
    33 
       
    34 	static CMemSpyApiWindowGroup* NewLC(const TMemSpyEngineWindowGroupDetails& aData);
       
    35 	
       
    36 public:
       
    37 	IMPORT_C TInt Id() const;
       
    38 	IMPORT_C const TDesC& Name() const;
       
    39 	IMPORT_C const TDesC& FullName() const;
       
    40 	IMPORT_C TThreadId ThreadId() const;
       
    41 	IMPORT_C TInt OrdinalPosition() const;
       
    42 	IMPORT_C TInt Priority() const;
       
    43 	IMPORT_C TInt WindowGroupHandle() const;
       
    44 	IMPORT_C TUid Uid() const;
       
    45 	IMPORT_C TBool IsBusy() const;
       
    46 	IMPORT_C TBool IsSystem() const;
       
    47 	IMPORT_C TBool IsHidden() const;
       
    48     IMPORT_C const TDesC& Caption() const;
       
    49     IMPORT_C const TDesC& DocName() const;
       
    50     IMPORT_C TBool IsFocused() const;
       
    51 	
       
    52 private:
       
    53 	void ConstructL(const TMemSpyEngineWindowGroupDetails& aData);
       
    54 		
       
    55 private:
       
    56 	TMemSpyEngineWindowGroupDetails *iData;
       
    57 };
       
    58 
       
    59 #endif // MEMSPYAPIWINDOWGROUP_H