commonuisupport/uikon/srvinc/eikshtsv.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:55:05 +0300
branchRCL_3
changeset 9 0aa5fbdfbc30
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201015 Kit: 201017

// Copyright (c) 1997-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 __EIKSHTSV_H__
#define __EIKSHTSV_H__

#include <e32base.h>
#include <w32std.h>
#include <savenotf.h>
#include <shutdownsrv.h>
#include <uiklaf/private/lafshut.h> // okay to include this in a private header
#include <shutdownsess.h>

class CLafShutdownManagerBase;

NONSHARABLE_CLASS(CEikServShutdownServer) : public CServShutdownServer
	{
public:
	IMPORT_C static CEikServShutdownServer* NewL();
public:
	~CEikServShutdownServer();
public: // from CServShutdownServer
	void ConstructL();
private:
	CEikServShutdownServer(TInt aPriority);
private: // from CServer2
	CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
private:
	CLafShutdownManagerBase* iLafShutdown;
	};

NONSHARABLE_CLASS(CEikServShutdownSession) : public CServShutdownSession
	{
public:
	static CEikServShutdownSession* NewL();
private:
	inline CEikServShutdownSession() :CServShutdownSession() {}
	};

#endif	// __EIKSHTSV_H__