tstaskmonitor/server/inc/hsdataobservertask.h
changeset 109 e0aa398e6810
parent 104 9b022b1f357c
child 115 3ab5c078b490
equal deleted inserted replaced
104:9b022b1f357c 109:e0aa398e6810
     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 DATAOBSERVERTASK_H
       
    18 #define DATAOBSERVERTASK_H
       
    19 #include "tsdataobserver.h"
       
    20 #include <e32base.h>
       
    21 class CHsDataObserverTask: public CHsDataObserver
       
    22 {
       
    23 public:
       
    24     ~CHsDataObserverTask();
       
    25     static void ExecuteLD(MHsDataObserverStorage& storage,const RMessage2& msg);
       
    26 
       
    27 private:
       
    28     CHsDataObserverTask(MHsDataObserverStorage& storage, const RMessage2& msg);
       
    29     void DataChanged();
       
    30     void Cancel(const RMessage2& reason);
       
    31 
       
    32 private:
       
    33     MHsDataObserverStorage& mStorage;
       
    34     const RMessage2 mMsg;
       
    35     TBool mDataChanged;
       
    36 };
       
    37 #endif //DATAOBSERVERTASK_H