commonuisupport/uikon/srvinc/eikshtsv.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __EIKSHTSV_H__
       
    17 #define __EIKSHTSV_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <w32std.h>
       
    21 #include <savenotf.h>
       
    22 #include <shutdownsrv.h>
       
    23 #include <uiklaf/private/lafshut.h> // okay to include this in a private header
       
    24 #include <shutdownsess.h>
       
    25 
       
    26 class CLafShutdownManagerBase;
       
    27 
       
    28 NONSHARABLE_CLASS(CEikServShutdownServer) : public CServShutdownServer
       
    29 	{
       
    30 public:
       
    31 	IMPORT_C static CEikServShutdownServer* NewL();
       
    32 public:
       
    33 	~CEikServShutdownServer();
       
    34 public: // from CServShutdownServer
       
    35 	void ConstructL();
       
    36 private:
       
    37 	CEikServShutdownServer(TInt aPriority);
       
    38 private: // from CServer2
       
    39 	CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
       
    40 private:
       
    41 	CLafShutdownManagerBase* iLafShutdown;
       
    42 	};
       
    43 
       
    44 NONSHARABLE_CLASS(CEikServShutdownSession) : public CServShutdownSession
       
    45 	{
       
    46 public:
       
    47 	static CEikServShutdownSession* NewL();
       
    48 private:
       
    49 	inline CEikServShutdownSession() :CServShutdownSession() {}
       
    50 	};
       
    51 
       
    52 #endif	// __EIKSHTSV_H__