tstaskmonitor/backstepping/inc/tsbackstepping.h
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
    17 
    17 
    18 #ifndef __CBACKSTEPPING_H
    18 #ifndef __CBACKSTEPPING_H
    19 #define __CBACKSTEPPING_H
    19 #define __CBACKSTEPPING_H
    20 
    20 
    21 #include <w32std.h>
    21 #include <w32std.h>
       
    22 #include <tswindowgroupsobserver.h>
    22 
    23 
    23 
    24 
    24 
    25 class CTsBackstepping : public CTsWindowGroupsObserver
    25 class CTsBackstepping : public CActive
       
    26 {
    26 {
    27 public:
    27 public:
    28     IMPORT_C static CTsBackstepping* NewL(RWsSession &);
    28     IMPORT_C static CTsBackstepping* NewL(MTsWindowGroupsMonitor &);
    29     IMPORT_C static CTsBackstepping* NewLC(RWsSession &);
    29     IMPORT_C static CTsBackstepping* NewLC(MTsWindowGroupsMonitor &);
    30     IMPORT_C virtual ~CTsBackstepping();
    30     IMPORT_C virtual ~CTsBackstepping();
    31 
    31 
    32 private:
    32 private:
    33     CTsBackstepping(RWsSession&);
    33     CTsBackstepping(MTsWindowGroupsMonitor &);
    34     void ConstructL();
    34     void ConstructL();
    35     void RunL();
       
    36     TInt RunError(TInt error);
       
    37     void DoCancel();
       
    38     void Subscribe();
       
    39     void AnalyseWindowStackL();
       
    40 
    35 
    41 private:
    36     void HandleWindowGroupChanged(MTsResourceManager &, 
    42     RWsSession &mWsSession;
    37                                   const TArray<RWsSession::TWindowGroupChainInfo> &);
    43     RWindowGroup mWg;
    38                                   
       
    39     void HandleWindowGroupChangedL(MTsResourceManager &, 
       
    40                                   const TArray<RWsSession::TWindowGroupChainInfo> &);
    44 };
    41 };
    45 
    42 
    46 #endif // __CBACKSTEPPING_H
    43 #endif // __CBACKSTEPPING_H