bluetoothengine/btnotif/inc/btnenterpriseitsecurityinfonotifier.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 21:37:10 +0300
branchRCL_3
changeset 61 269724087bed
parent 0 f63038272f30
child 72 4b59561a31c0
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2009 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:  Declares generic information notifier class.
*
*/

#ifndef BTNENTERPRISEITSECURITYINFONNOTIFIER_H
#define BTNENTERPRISEITSECURITYINFONNOTIFIER_H

// INCLUDES
#include "btnotifier.h" // Base class

// CLASS DECLARATION
NONSHARABLE_CLASS(CBTEnterpriseItSecurityInfoNotifier) : public CBTNotifierBase
    {
public:		// Constructors and destructor
	/**
	* Two-phased constructor.
	*/
	static CBTEnterpriseItSecurityInfoNotifier* NewL();

	/**
	* Destructor.
	*/
	virtual ~CBTEnterpriseItSecurityInfoNotifier();

private:	// Functions from base classes
	/**
	* From CBTNotifierBase Called when a notifier is first loaded 
	* to allow any initial construction that is required.
	* @param None.
	* @return A structure containing priority and channel info.
	*/
	TNotifierInfo RegisterL();
	
	/** From CBTNotifierBase Synchronic notifier launch.        
	* @param aBuffer Received parameter data.
	* @return A pointer to return value.
	*/
	TPtrC8 StartL(const TDesC8& aBuffer);

    /**
    * From CBTNotifierBase
    * Used in asynchronous notifier launch to start the actual processing
    * of parameters received in StartL. StartL just stores a copy of the
    * parameter buffer, schedules a callback to call this method and returns
    * ASAP, so the actual work begins here, safely outside of the StartL
    * context so that waiting dialogs can be freely used if need be.
    * @return None.
    */
	void ProcessStartParamsL();

	/**
	* From CBTNotifierBase
	*/      
	void HandleGetDeviceCompletedL(const CBTDevice* aDev);        

private:
	/**
	* C++ default constructor.
	*/
	CBTEnterpriseItSecurityInfoNotifier();

	/**
	 * Show Information note and complete message. 
	 */
	void ShowNoteAndCompleteL();
    };

#endif	//BTNENTERPRISEITSECURITYINFONNOTIFIER_H

// End of File