supl/locationomasuplprotocolhandler/asnconverterpluginapi/src/epos_comasuplnotificationver2.cpp
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  Header file for supl 2.0 notification ver2  message
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "epos_comasuplnotificationver2.h"
       
    20 #include "epos_suplconstants.h"
       
    21 #include  "lbs/epos_eomasuplposerrors.h"
       
    22 #include "epos_comasuplsessionid.h"
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 EXPORT_C COMASuplNotificationExtnV2* COMASuplNotificationExtnV2::NewL()
       
    28     {
       
    29     COMASuplNotificationExtnV2* self = new(ELeave) COMASuplNotificationExtnV2;
       
    30     return self;
       
    31     }
       
    32 
       
    33 EXPORT_C COMASuplNotificationExtnV2::~COMASuplNotificationExtnV2()
       
    34     {
       
    35     ;
       
    36     }
       
    37 
       
    38 COMASuplNotificationExtnV2::COMASuplNotificationExtnV2()
       
    39     {
       
    40     ;
       
    41     }
       
    42 
       
    43 // ============================ MEMBER FUNCTIONS of COMASuplNotificationVer2===============================
       
    44 //
       
    45 // ---------------------------------------------------------
       
    46 // Static Factory method to create the COMASuplNotificationVer2
       
    47 // implementation
       
    48 //
       
    49 // (other items were commented in a header).
       
    50 // ---------------------------------------------------------
       
    51     
       
    52 EXPORT_C  COMASuplNotificationVer2* COMASuplNotificationVer2::NewL()
       
    53     {
       
    54     COMASuplNotificationVer2* self = new(ELeave) COMASuplNotificationVer2;
       
    55     return self;
       
    56     }
       
    57 //
       
    58 // ---------------------------------------------------------
       
    59 //  destructor
       
    60 //
       
    61 // (other items were commented in a header).
       
    62 // ---------------------------------------------------------
       
    63 //
       
    64 EXPORT_C COMASuplNotificationVer2::~COMASuplNotificationVer2()
       
    65     {
       
    66     if(iV2NotificationExtn)
       
    67         {
       
    68         delete iV2NotificationExtn;
       
    69         iV2NotificationExtn = NULL;
       
    70         }
       
    71     }
       
    72 //
       
    73 // ---------------------------------------------------------
       
    74 //  Setter method for notification extension
       
    75 //
       
    76 // (other items were commented in a header).
       
    77 // ---------------------------------------------------------
       
    78 //
       
    79 EXPORT_C void COMASuplNotificationVer2::SetV2NotifyExtn(COMASuplNotificationExtnV2* aV2NotificationExtn)
       
    80     {
       
    81     if(iV2NotificationExtn)
       
    82         {
       
    83         delete iV2NotificationExtn;
       
    84         iV2NotificationExtn = NULL;
       
    85         }
       
    86     iV2NotificationExtn = aV2NotificationExtn;
       
    87     }
       
    88 //
       
    89 // ---------------------------------------------------------
       
    90 //  Getter method for notification extension
       
    91 //
       
    92 // (other items were commented in a header).
       
    93 // ---------------------------------------------------------
       
    94 //
       
    95 EXPORT_C void COMASuplNotificationVer2::GetV2NotifyExtn(COMASuplNotificationExtnV2*& aV2NotificationExtn)
       
    96     {
       
    97     aV2NotificationExtn = iV2NotificationExtn;
       
    98     }
       
    99 // ---------------------------------------------------------
       
   100 //  constructor
       
   101 //
       
   102 // (other items were commented in a header).
       
   103 // ---------------------------------------------------------
       
   104 //
       
   105 COMASuplNotificationVer2::COMASuplNotificationVer2()
       
   106 	{
       
   107 	}
       
   108