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