uifw/AknGlobalUI/AknCapServer/inc/winchangemonitor.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 16:14:00 +0300
branchRCL_3
changeset 16 71dd06cfe933
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201013 Kit: 201015

/*
* Copyright (c) 2002-2007 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 __WINCHANGEMONITOR_H__
#define __WINCHANGEMONITOR_H__

#include<e32base.h>
#include<w32std.h>

class RWsSession;

class CWindowChangeMonitor : public CBase
    {
    public:
        static CWindowChangeMonitor* NewL(RWsSession& aSession);
        ~CWindowChangeMonitor();
        void WgChangeL(TInt aFirstWg);
        void PartialWgChangeL(TInt aWg);
        void SetWgL(TInt aWg);
            
    private:
        CWindowChangeMonitor(RWsSession& aSession);
        void ConstructL();
    private:
     
    private:
        RWsSession& iSession;
        TUid    iCurrentUid;
        TUid    iNxtUid;
        TInt    iCurrentWg;
        TBool   iAborted;
    };
   
#endif // __WINCHANGEMONITOR_H__