networkhandling/networkhandlingengine/NetworkHandlingGsmInc/CNWGsmSessionImplementation.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002-2009 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:  Gsm specific interface class for network handling
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CNWGSMSESSIONIMPLEMENTATION_H
       
    21 #define CNWGSMSESSIONIMPLEMENTATION_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "CNWSession.h"
       
    25 #include "NWHandlingEngine.h"
       
    26 
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CNWGsmMessageHandler;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 
       
    34 /**
       
    35 *  This file contains the header file of the class CNWGsmSessionImplementation, 
       
    36 *  which is a Gsm specific interface class to network properties of the system
       
    37 *
       
    38 *  @lib NetworkHandling.lib
       
    39 *  @since Series 60_2.8
       
    40 */
       
    41 class CNWGsmSessionImplementation : public CNWSession
       
    42     {
       
    43     public:  // Constructors and destructor
       
    44 
       
    45         /**
       
    46         * Two-phased constructor.
       
    47         */
       
    48         IMPORT_C static CNWGsmSessionImplementation* NewL( 
       
    49                 MNWMessageObserver& aMessageObserver,
       
    50                 TNWInfo& aNWInfo );
       
    51                 
       
    52         /**
       
    53         * Destructor.
       
    54         */
       
    55         IMPORT_C virtual ~CNWGsmSessionImplementation();
       
    56 
       
    57     private:
       
    58 
       
    59         /**
       
    60         * C++ default constructor.
       
    61         */
       
    62         CNWGsmSessionImplementation( 
       
    63                 MNWMessageObserver& aMessageObserver,
       
    64                 TNWInfo& aNWInfo );
       
    65 
       
    66 
       
    67         /**
       
    68         * By default EPOC constructor is private.
       
    69         */
       
    70         void ConstructL();
       
    71 
       
    72     private:
       
    73         // CNWGsmMessageHandler object which handles messages
       
    74         CNWGsmMessageHandler* iGsmMessageHandler;
       
    75         //Reference to MNWMessageObserver
       
    76         MNWMessageObserver& iMessageObserver;
       
    77         //Reference to network info struct
       
    78         TNWInfo& iNWInfo;
       
    79     };
       
    80 
       
    81 #endif      // CNWGsmSessionImplementation_H
       
    82 
       
    83 // End of File