ImagePrint/ImagePrintEngine/DeviceProtocols/btprotocol/inc/cbtpasswordquery.h
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     1 /*
       
     2 * Copyright (c) 2004-2007 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CBTPASSWORDQUERY_H
       
    20 #define CBTPASSWORDQUERY_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32std.h>
       
    24 #include <btnotif.h>
       
    25 
       
    26 #include "mconfirmationnotify.h"
       
    27 
       
    28 class CBtPasswordQuery : public CActive
       
    29 {
       
    30 public:
       
    31 	
       
    32 	~CBtPasswordQuery();
       
    33 	
       
    34     static CBtPasswordQuery* NewL( MConfirmationNotify& aNotify );  
       
    35 
       
    36     static CBtPasswordQuery* NewLC( MConfirmationNotify& aNotify );  
       
    37 
       
    38     void StartActiveObjectL ();
       
    39     
       
    40 protected: // from CActive 
       
    41 
       
    42 	void RunL();		
       
    43 	
       
    44 	void RunError();
       
    45 	
       
    46 	void DoCancel();
       
    47     
       
    48 protected: // construction
       
    49 
       
    50 	CBtPasswordQuery(MConfirmationNotify& aNotify);
       
    51 	
       
    52 	void ConstructL();
       
    53 
       
    54 private:
       
    55 
       
    56 	MConfirmationNotify& iNotify;
       
    57 	
       
    58     TBTObexPasskey iPckg;		// Input parameters
       
    59 	
       
    60     TObexPasskeyBuf iResultPckg; // Response
       
    61 	
       
    62 	RNotifier iNotifier;
       
    63 	
       
    64 };
       
    65 
       
    66 #endif // CBTPASSWORDQUERY_H
       
    67 
       
    68 //  End of File