bluetoothengine/btnotif/inc/btnobexpinnotifier.h
branchRCL_3
changeset 56 9386f31cc85b
parent 0 f63038272f30
child 61 269724087bed
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
       
     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:  Declares OBEX PIN query notifier class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTNOBEXPINNOTIFIER_H
       
    20 #define BTNOBEXPINNOTIFIER_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include "btnotifier.h" // Base class
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 * This class is used to ask OBEX passkey from user.
       
    30 */
       
    31 NONSHARABLE_CLASS(CBTObexPinNotifier): public CBTNotifierBase
       
    32     {
       
    33     public: // Constructors and destructor
       
    34 
       
    35         /**
       
    36         * Two-phased constructor.
       
    37         */
       
    38         static CBTObexPinNotifier* NewL();
       
    39 
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CBTObexPinNotifier();
       
    44 
       
    45     private: // Functions from base classes
       
    46         /**
       
    47         * From CBTNotifierBase Called when a notifier is first loaded.        
       
    48         * @param None.
       
    49         * @return A structure containing priority and channel info.
       
    50         */
       
    51         TNotifierInfo RegisterL();
       
    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     private:
       
    65 
       
    66         /**
       
    67         * C++ default constructor.
       
    68         */
       
    69         CBTObexPinNotifier();      
       
    70 
       
    71         /**
       
    72         * Show notes to ask user's response and return to caller.
       
    73         * @param None.
       
    74         * @return None.
       
    75         */
       
    76         void ShowNoteCompleteMessageL();
       
    77 
       
    78     private: // Data
       
    79 
       
    80     };
       
    81 
       
    82 #endif
       
    83 
       
    84 // End of File