locationsystemui/locationsysui/privacyverifiernotifierui/locverifier/inc/lpdnotifierquerylauncher.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:37:04 +0300
branchRCL_3
changeset 44 2b4ea9893b66
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2010 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 CLPDNOTIFIERQUERYLAUNCHER_H
#define CLPDNOTIFIERQUERYLAUNCHER_H

//  INCLUDES
#include "lpdquerylauncherbase.h"
#include <e32base.h>
#include <lbs/epos_privacy.h>

// FORWARD DECLARATIONS


// CLASS DECLARATION

/**
*  Implements functionality for executing notifications.
*
*  @lib locverifierdlg.lib
*  @since 2.1
*/
class CLpdNotifierQueryLauncher :
public CLpdQueryLauncherBase
    {
    public:  // Constructors and destructor
        
        /**
        * Two-phased constructor.
        * @param aHandler of ther query result
        * @return created object
        */
        static CLpdNotifierQueryLauncher* NewL( MLpdResultHandler& aHandler );
        
        /**
        * Destructor. Call Cancel() first if you have launched a query.
        */
        virtual ~CLpdNotifierQueryLauncher();

           
    protected: // Functions from base classes

        /**
        * From CLpdQueryLauncherBase, called when dialog is dismissed.
        */
        void ExtendedHandleDlgDismissedL();
        
        void RequestType(TRequestType& aRequestType);

    private: // Constructors and destructors

        /**
        * C++ constructor.
        * @param aHandler of the query result
        */
        CLpdNotifierQueryLauncher( MLpdResultHandler& aHandler );

        /**
        * By default Symbian 2nd phase constructor is private.
        */
        void ConstructL();
    
    };

#endif      // CLPDNOTIFIERQUERYLAUNCHER_H   
            
// End of File