tstaskmonitor/server/inc/hsdataobservertask.h
changeset 80 397d00875918
child 83 156f692b1687
equal deleted inserted replaced
73:4bc7b118b3df 80:397d00875918
       
     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 "hsdataobserver.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