locationsystemui/locationsysui/privacyverifiernotifierui/locverifier/src/lpdnotifierquerylauncher.cpp
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:  Class which handles the dialog and expiration timer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "lpdnotifierquerylauncher.h"
       
    21 #include "lpdglobalplugindialog.h"
       
    22 
       
    23 #include "lpdresulthandler.h"
       
    24 #include <lbs/epos_privacy.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // ============================ MEMBER FUNCTIONS ===============================
       
    29 
       
    30 // -----------------------------------------------------------------------------
       
    31 // CLpdNotifierQueryLauncher::CLpdNotifierQueryLauncher
       
    32 // C++ default constructor can NOT contain any code, that
       
    33 // might leave.
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 CLpdNotifierQueryLauncher::CLpdNotifierQueryLauncher( 
       
    37     MLpdResultHandler& aHandler ) 
       
    38     : CLpdQueryLauncherBase( aHandler )
       
    39     {
       
    40     // Intentionally empty
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CLpdNotifierQueryLauncher::ConstructL
       
    45 // Symbian 2nd phase constructor can leave.
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 void CLpdNotifierQueryLauncher::ConstructL()
       
    49     {
       
    50     CLpdQueryLauncherBase::ConstructL();
       
    51     }
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // CLpdNotifierQueryLauncher::NewL
       
    55 // Two-phased constructor.
       
    56 // -----------------------------------------------------------------------------
       
    57 //
       
    58 CLpdNotifierQueryLauncher* CLpdNotifierQueryLauncher::NewL( 
       
    59     MLpdResultHandler& aHandler )
       
    60     {
       
    61     CLpdNotifierQueryLauncher* self = new( ELeave )
       
    62              CLpdNotifierQueryLauncher( aHandler );
       
    63     
       
    64     CleanupStack::PushL( self );
       
    65     self->ConstructL();
       
    66     CleanupStack::Pop(self);
       
    67 
       
    68     return self;
       
    69     }
       
    70 
       
    71 // Destructor
       
    72 CLpdNotifierQueryLauncher::~CLpdNotifierQueryLauncher()
       
    73     {
       
    74     // Intentionally empty
       
    75     }
       
    76 
       
    77 
       
    78 // -----------------------------------------------------------------------------
       
    79 // CLpdNotifierQueryLauncher::ExtendedHandleDlgDismissedL
       
    80 // (other items were commented in a header).
       
    81 // -----------------------------------------------------------------------------
       
    82 //
       
    83 void CLpdNotifierQueryLauncher::ExtendedHandleDlgDismissedL()
       
    84     {
       
    85     iHandler.HandleNotificationResultL( iResult );
       
    86     }
       
    87 
       
    88 
       
    89 // -----------------------------------------------------------------------------
       
    90 // CLpdNotifierQueryLauncher::RequestType
       
    91 // (other items were commented in a header).
       
    92 // -----------------------------------------------------------------------------
       
    93 //
       
    94 void CLpdNotifierQueryLauncher::RequestType(TRequestType& aRequestType)
       
    95     {
       
    96     aRequestType = CLpdQueryLauncherBase::ENotification;
       
    97     }
       
    98 //  End of File