customization/ScreenSaverAdapter/ScreenSaverServer/inc/ScreenSaverSession.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Implementation of customization components
       
    15 *
       
    16 */
       
    17  
       
    18 
       
    19 #ifndef __SCREENSAVER_SESSION_H__
       
    20 #define __SCREENSAVER_SESSION_H__
       
    21 
       
    22 #include "ScreenSaverServer.h"
       
    23 #include <s32mem.h>
       
    24 
       
    25 class CScreenSaverSession: public CSession2
       
    26 {
       
    27 	friend class CScreenSaverServer;
       
    28 	public:
       
    29 		~CScreenSaverSession();
       
    30 	void CreateL();
       
    31 	
       
    32 	private:
       
    33 		CScreenSaverSession();
       
    34 		CScreenSaverServer& Server();
       
    35 		
       
    36 		void ServiceL(const RMessage2& aMessage);
       
    37 		void DispatchMessageL(const RMessage2& aMessage);
       
    38 		void ServiceError(const RMessage2 &aMessage, TInt aError);
       
    39 };
       
    40 
       
    41 
       
    42 #endif