taskswitcherapp/tsserviceplugin/inc/s60/tsexternalactivationwatcher_p.h
changeset 39 4e8ebe173323
parent 36 cdae8c6c3876
child 42 517f4fb5ec74
child 46 23b5d6a29cce
equal deleted inserted replaced
36:cdae8c6c3876 39:4e8ebe173323
     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 TSEXTERNALACTIVATIONWATCHERPRIVATE_H
       
    18 #define TSEXTERNALACTIVATIONWATCHERPRIVATE_H
       
    19 
       
    20 #include <e32base.h>
       
    21 #include <e32property.h>
       
    22 
       
    23 class TsExternalActivationWatcher;
       
    24 
       
    25 class TsExternalActivationWatcherPrivate : public CActive
       
    26 {
       
    27 public:
       
    28     TsExternalActivationWatcherPrivate(TsExternalActivationWatcher *parent);
       
    29     virtual ~TsExternalActivationWatcherPrivate();
       
    30 
       
    31 public: //From CActive
       
    32     /**
       
    33     * Implements cancellation of an outstanding request.
       
    34     */
       
    35     virtual void DoCancel();
       
    36 
       
    37     /**
       
    38     Handles an active object's request completion event.
       
    39     */
       
    40     void RunL();
       
    41     
       
    42 private:
       
    43     bool CheckActivationFlag();
       
    44     void ResetActivationFlag();
       
    45 
       
    46 private:
       
    47     TsExternalActivationWatcher *mParent;
       
    48     RProperty mProperty;
       
    49 
       
    50 };
       
    51 
       
    52 #endif // TSEXTERNALACTIVATIONWATCHERPRIVATE_H