tstaskmonitor/client/s60/inc/tstaskmonitorclient.h
changeset 102 8b8b34fa9751
parent 100 0920c6a9b6c8
child 106 e78d6e055a5b
equal deleted inserted replaced
100:0920c6a9b6c8 102:8b8b34fa9751
     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 #ifndef TSTASKMONITORCLIENT_H
       
    18 #define TSTASKMONITORCLIENT_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 #include "tsentry.h"
       
    23 
       
    24 class MTsTaskMonitorObserver;
       
    25 class CTsTaskMonitorClientImpl;
       
    26 
       
    27 NONSHARABLE_CLASS( CTsTaskMonitorClient ) : public CBase
       
    28 {
       
    29 public:
       
    30     static CTsTaskMonitorClient* NewL();
       
    31     static CTsTaskMonitorClient* NewLC();
       
    32     ~CTsTaskMonitorClient();
       
    33 
       
    34 public:
       
    35     void TaskListL(RTsFswArray& tasks);
       
    36     void Subscribe(MTsTaskMonitorObserver& aObserver);
       
    37     void CancelSubscribe();
       
    38 
       
    39 private:
       
    40     CTsTaskMonitorClient();
       
    41     void ConstructL();
       
    42 
       
    43 private:
       
    44     CTsTaskMonitorClientImpl* iImpl;
       
    45 };
       
    46 
       
    47 #endif  // TSTASKMONITORCLIENT_H