diff -r 156f692b1687 -r b99b84bcd2d1 tstaskmonitor/server/inc/tsfswmonitor.h --- a/tstaskmonitor/server/inc/tsfswmonitor.h Fri Jun 11 13:58:37 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,66 +0,0 @@ -/* -* Copyright (c) 2008 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: Monitor for server - * -*/ - - -#ifndef TSFSWMONITOR_H -#define TSFSWMONITOR_H - -#include -#include - -class MHsDataObserver; -class MTsFswResourceObserver; - -/** - * Monitor for the fsw server. - * Reimplements HandleWsEventL from base class to get notifications about - * window group changes. - */ -class CTsFswMonitor : public CActive - { -public: - ~CTsFswMonitor(); - - - -static CTsFswMonitor* NewL(MHsDataObserver& taskListObserver); -static CTsFswMonitor* NewLC(MHsDataObserver& taskListObserver); - -protected: - CTsFswMonitor(MHsDataObserver& taskListObserver); - void ConstructL(); - - // from CActive - void RunL(); - TInt RunError( TInt error ); - void DoCancel(); - - -private: - void Subscribe(); - void ConstractObserverL(); -private: - MHsDataObserver* mTaskListObserver; // not own - - // window server session - RWsSession mWsSession; - - // Window group. - RWindowGroup mWg; - }; - -#endif //TSFSWMONITOR_H