locationsystemui/locationsysui/posindicator/posindicatorhelperserver/inc/posindicatorserversubsession.h
branchRCL_3
changeset 44 2b4ea9893b66
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
       
     1 /*
       
     2 * Copyright (c) 2010 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: Declaration of server session class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef POSINDICATORSERVERSUBSESSION_H
       
    19 #define POSINDICATORSERVERSUBSESSION_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 class CPosIndicatorLocationRequestor;
       
    24 
       
    25 class CPosIndicatorServerSubsession : public CObject
       
    26     {
       
    27 public:    
       
    28     /**
       
    29      * Instantiates a new object of 
       
    30      * CPosIndicatorServerSubsession
       
    31      *
       
    32      * @return a pointer to instance of CLbtSubSession
       
    33      */
       
    34     static CPosIndicatorServerSubsession* NewL( CPosIndicatorLocationRequestor&
       
    35                                                 aLocationRequestor );
       
    36     
       
    37     /**
       
    38      * C++ destructor
       
    39      *
       
    40      */
       
    41     ~CPosIndicatorServerSubsession();
       
    42     
       
    43     /**
       
    44      * Handles the servicing of a client request that 
       
    45      * has been passed from the session
       
    46      *
       
    47      * @aMessage The message containing the details of 
       
    48      * the client request
       
    49      *
       
    50      */      
       
    51     void ServiceL(const RMessage2 &aMessage);
       
    52     
       
    53 private:
       
    54     /**
       
    55      * C++ Default constructor
       
    56      *
       
    57      */
       
    58     CPosIndicatorServerSubsession( CPosIndicatorLocationRequestor&
       
    59                                    aLocationRequestor );
       
    60     
       
    61     /**
       
    62      * 2nd phase constructor for instantiating 
       
    63      * member variables
       
    64      *
       
    65      */
       
    66     void ConstructL();
       
    67 
       
    68 private: // Data member
       
    69     /**
       
    70      * Pointer to location requestor object.
       
    71      * Not own
       
    72      */
       
    73     CPosIndicatorLocationRequestor& iLocationRequestor;
       
    74     };
       
    75 #endif /* POSINDICATORSERVERSUBSESSION_H */