diff -r 000000000000 -r 667063e416a2 locationsystemui/locationsysui/locverifier/inc/lpdverifierquerylauncher.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locationsystemui/locationsysui/locverifier/inc/lpdverifierquerylauncher.h Tue Feb 02 01:06:48 2010 +0200 @@ -0,0 +1,98 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Class which handles the dialog and expiration timer. +* +*/ + + +#ifndef CLPDVERIFIERQUERYLAUNCHER_H +#define CLPDVERIFIERQUERYLAUNCHER_H + +// INCLUDES +#include "lpdquerylauncherbase.h" +#include +#include + +// FORWARD DECLARATIONS +class CLpdGlobalPluginDialog; + + +// CLASS DECLARATION + +/** +* Implements functionality for executing verification queries. +* +* @lib locverifierdlg.lib +* @since 2.1 +*/ +class CLpdVerifierQueryLauncher : +public CLpdQueryLauncherBase + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + * @param aHandler of ther query result + * @return created object + */ + static CLpdVerifierQueryLauncher* NewL( + MLpdResultHandler& aHandler ); + + /** + * Destructor. Call Cancel() first if you have launched a query. + */ + virtual ~CLpdVerifierQueryLauncher(); + + public: // New functions + + /** + * Prepares verification resources, must be called before setting + * icons, text etc. + * @param aSource verification source + * @param aDefault default verification decision + */ + void PrepareVerificationResourcesL( TPosRequestSource aSource, + TPosRequestDecision aDefault); + + /** + * Prepares verification resources for SUPL periodic request + * must be called before setting icons, text etc. + * @param aRequestId request id + */ + void PrepareSuplVerificationResourcesL(); + + protected: // Functions from base classes + + /** + * From CLpdQueryLauncherBase, called when dialog is dismissed. + */ + void ExtendedHandleDlgDismissedL(); + + private: // Constructors and destructors + + /** + * C++ constructor. + * @param aHandler of the query result + */ + CLpdVerifierQueryLauncher( MLpdResultHandler& aHandler ); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + }; + +#endif // CLPDVERIFIERQUERYLAUNCHER_H + +// End of File