taskswitcher/server/inc/tsdataobservertask.h
changeset 116 305818acdca4
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
       
     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 <e32base.h>
       
    20 #include "tsdataobserver.h"
       
    21 
       
    22 class CTsDataObserverTask: public CTsDataObserver
       
    23 {
       
    24 public:
       
    25     ~CTsDataObserverTask();
       
    26     static void ExecuteLD( MTsDataObserverStorage& aStorage, 
       
    27                            const RMessage2& aMsg );
       
    28 
       
    29 private:
       
    30     CTsDataObserverTask( MTsDataObserverStorage& aStorage, 
       
    31                          const RMessage2& aMsg );
       
    32     void DataChanged();
       
    33 
       
    34 private:
       
    35     MTsDataObserverStorage& iStorage;
       
    36     const RMessage2 iMsg;
       
    37     TBool iDataChanged;
       
    38 };
       
    39 #endif //DATAOBSERVERTASK_H