locationsystemui/locationsysui/locverifier/inc/lpdverifierquerylauncher.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2002 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 #ifndef CLPDVERIFIERQUERYLAUNCHER_H
       
    20 #define CLPDVERIFIERQUERYLAUNCHER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "lpdquerylauncherbase.h"
       
    24 #include <e32base.h>
       
    25 #include <lbs/epos_privacy.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CLpdGlobalPluginDialog;
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  Implements functionality for executing verification queries.
       
    35 *
       
    36 *  @lib locverifierdlg.lib
       
    37 *  @since 2.1
       
    38 */
       
    39 class CLpdVerifierQueryLauncher :
       
    40 public CLpdQueryLauncherBase
       
    41     {
       
    42     public:  // Constructors and destructor
       
    43         
       
    44         /**
       
    45         * Two-phased constructor.
       
    46         * @param aHandler of ther query result
       
    47         * @return created object
       
    48         */
       
    49         static CLpdVerifierQueryLauncher* NewL( 
       
    50             MLpdResultHandler& aHandler );
       
    51         
       
    52         /**
       
    53         * Destructor. Call Cancel() first if you have launched a query.
       
    54         */
       
    55         virtual ~CLpdVerifierQueryLauncher();
       
    56 
       
    57     public: // New functions
       
    58         
       
    59         /**
       
    60         * Prepares verification resources, must be called before setting
       
    61         * icons, text etc.
       
    62         * @param aSource verification source
       
    63         * @param aDefault default verification decision
       
    64         */
       
    65         void PrepareVerificationResourcesL( TPosRequestSource aSource,
       
    66                                             TPosRequestDecision aDefault);
       
    67         
       
    68         /**
       
    69         * Prepares verification resources for SUPL periodic request
       
    70         * must be called before setting icons, text etc.
       
    71         * @param aRequestId request id
       
    72         */
       
    73         void PrepareSuplVerificationResourcesL();
       
    74 
       
    75     protected: // Functions from base classes
       
    76 
       
    77         /**
       
    78         * From CLpdQueryLauncherBase, called when dialog is dismissed.
       
    79         */
       
    80         void ExtendedHandleDlgDismissedL();
       
    81 
       
    82     private: // Constructors and destructors
       
    83 
       
    84         /**
       
    85         * C++ constructor.
       
    86         * @param aHandler of the query result
       
    87         */
       
    88         CLpdVerifierQueryLauncher( MLpdResultHandler& aHandler );
       
    89 
       
    90         /**
       
    91         * By default Symbian 2nd phase constructor is private.
       
    92         */
       
    93         void ConstructL();
       
    94     };
       
    95 
       
    96 #endif      // CLPDVERIFIERQUERYLAUNCHER_H   
       
    97             
       
    98 // End of File