diff -r f9ce957a272c -r cdae8c6c3876 taskswitcherapp/tsserviceplugin/inc/s60/tsexternalactivationwatcher_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/taskswitcherapp/tsserviceplugin/inc/s60/tsexternalactivationwatcher_p.h Fri Apr 16 14:54:01 2010 +0300 @@ -0,0 +1,52 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +#ifndef TSEXTERNALACTIVATIONWATCHERPRIVATE_H +#define TSEXTERNALACTIVATIONWATCHERPRIVATE_H + +#include +#include + +class TsExternalActivationWatcher; + +class TsExternalActivationWatcherPrivate : public CActive +{ +public: + TsExternalActivationWatcherPrivate(TsExternalActivationWatcher *parent); + virtual ~TsExternalActivationWatcherPrivate(); + +public: //From CActive + /** + * Implements cancellation of an outstanding request. + */ + virtual void DoCancel(); + + /** + Handles an active object's request completion event. + */ + void RunL(); + +private: + bool CheckActivationFlag(); + void ResetActivationFlag(); + +private: + TsExternalActivationWatcher *mParent; + RProperty mProperty; + +}; + +#endif // TSEXTERNALACTIVATIONWATCHERPRIVATE_H