bluetoothengine/btnotif/inc/btnenterpriseitsecurityinfonotifier.h
changeset 19 43824b19ee35
parent 17 f05641c183ff
child 33 837dcc42fd6a
equal deleted inserted replaced
17:f05641c183ff 19:43824b19ee35
     1 /*
       
     2 * Copyright (c) 2009 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:  Declares generic information notifier class.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef BTNENTERPRISEITSECURITYINFONNOTIFIER_H
       
    19 #define BTNENTERPRISEITSECURITYINFONNOTIFIER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include "btnotifier.h" // Base class
       
    23 
       
    24 // CLASS DECLARATION
       
    25 NONSHARABLE_CLASS(CBTEnterpriseItSecurityInfoNotifier) : public CBTNotifierBase
       
    26     {
       
    27 public:		// Constructors and destructor
       
    28 	/**
       
    29 	* Two-phased constructor.
       
    30 	*/
       
    31 	static CBTEnterpriseItSecurityInfoNotifier* NewL();
       
    32 
       
    33 	/**
       
    34 	* Destructor.
       
    35 	*/
       
    36 	virtual ~CBTEnterpriseItSecurityInfoNotifier();
       
    37 
       
    38 private:	// Functions from base classes
       
    39 	/**
       
    40 	* From CBTNotifierBase Called when a notifier is first loaded 
       
    41 	* to allow any initial construction that is required.
       
    42 	* @param None.
       
    43 	* @return A structure containing priority and channel info.
       
    44 	*/
       
    45 	TNotifierInfo RegisterL();
       
    46 	
       
    47 	/** From CBTNotifierBase Synchronic notifier launch.        
       
    48 	* @param aBuffer Received parameter data.
       
    49 	* @return A pointer to return value.
       
    50 	*/
       
    51 	TPtrC8 StartL(const TDesC8& aBuffer);
       
    52 
       
    53 	/**
       
    54 	* From CBTNotifierBase Used in asynchronous notifier launch to 
       
    55 	* store received parameters into members variables and 
       
    56 	* make needed initializations.
       
    57 	* @param aBuffer A buffer containing received parameters
       
    58 	* @param aReturnVal The return value to be passed back.
       
    59 	* @param aMessage Should be completed when the notifier is deactivated.
       
    60 	* @return None.
       
    61 	*/
       
    62 	void GetParamsL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage);
       
    63 
       
    64 	/**
       
    65 	* From CBTNotifierBase
       
    66 	*/      
       
    67 	void HandleGetDeviceCompletedL(const CBTDevice* aDev);        
       
    68 
       
    69 private:
       
    70 	/**
       
    71 	* C++ default constructor.
       
    72 	*/
       
    73 	CBTEnterpriseItSecurityInfoNotifier();
       
    74 
       
    75 	/**
       
    76 	 * Show Information note and complete message. 
       
    77 	 */
       
    78 	void ShowNoteAndCompleteL();
       
    79     };
       
    80 
       
    81 #endif	//BTNENTERPRISEITSECURITYINFONNOTIFIER_H
       
    82 
       
    83 // End of File