common/tools/ats/smoketest/lbs/internal/lbstestserver/inc/lbstestsession.h
changeset 748 e13acd883fbe
child 872 17498133d9ad
equal deleted inserted replaced
747:76f9aaeefbab 748:e13acd883fbe
       
     1 // Copyright (c) 2006-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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // serverside.h
       
    15 // server side exmaple of how to use the abstract server framework
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef LBSTESTSESSION_H__
       
    20 #define LBSTESTSESSION_H__
       
    21 
       
    22 #include "csecuresessionbase.h"
       
    23 #include "csecuresessionsubsessionbase.h"
       
    24 #include "csubsessionbase.h"
       
    25 #include "messageutils.h"
       
    26 
       
    27 	
       
    28 /* Session class that implements the actual functions.
       
    29 */	
       
    30 class CLbsTestSession : public CSecureSessionBase
       
    31 	{
       
    32 public:
       
    33 	void CreateL();
       
    34 
       
    35 protected:
       
    36 	void DispatchL(const RMessage2& aMessage);
       
    37 	void DispatchError(const RMessage2& aMessage, const TInt aError);
       
    38 
       
    39 private:
       
    40 	void StopLbsSystem(const RMessage2& aMessage);
       
    41 	void StartLbsSystem(const RMessage2& aMessage);
       
    42 	void ResetLbsSystem(const RMessage2& aMessage);
       
    43 	
       
    44 	TBool FindRootProcess(RProcess& aProcess);
       
    45 	};
       
    46 	
       
    47 #endif //LBSTESTSESSION_H__