tstaskmonitor/backstepping/inc/tsbackstepping.h
changeset 96 5d243a69bdda
child 98 d2f833ab7940
equal deleted inserted replaced
95:c739008478cc 96:5d243a69bdda
       
     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 __CBACKSTEPPING_H
       
    19 #define __CBACKSTEPPING_H
       
    20 
       
    21 #include <w32std.h>
       
    22 
       
    23 
       
    24 
       
    25 class CTsBackstepping : public CActive
       
    26 {
       
    27 public:
       
    28     IMPORT_C static CTsBackstepping* NewL(RWsSession &);
       
    29     IMPORT_C static CTsBackstepping* NewLC(RWsSession &);
       
    30     IMPORT_C virtual ~CTsBackstepping();
       
    31 
       
    32 private:
       
    33     CTsBackstepping(RWsSession&);
       
    34     void ConstructL();
       
    35     void RunL();
       
    36     TInt RunError(TInt error);
       
    37     void DoCancel();
       
    38     void Subscribe();
       
    39     void AnalyseWindowStackL();
       
    40 
       
    41 private:
       
    42     RWsSession &mWsSession;
       
    43     RWindowGroup mWg;
       
    44 };
       
    45 
       
    46 #endif // __CBACKSTEPPING_H