pimprotocols/pbap/inc/pbapauthpasswordgetter.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef PBAPAUTHPASSWORDGETTER_H
       
    17 #define PBAPAUTHPASSWORDGETTER_H
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <btextnotifiers.h>
       
    21 #include <btextnotifierspartner.h>
       
    22 
       
    23 // forward declarations
       
    24 class CPbapServer;
       
    25 
       
    26 class CPbapAuthPasswordGetter : public CActive
       
    27 	{
       
    28 public:
       
    29 	static CPbapAuthPasswordGetter* NewL(CPbapServer& aParent);
       
    30 	~CPbapAuthPasswordGetter();
       
    31 
       
    32 	void GetPassword(const TDesC& aRealm, const TBTDevAddr& aAddress);
       
    33 
       
    34 private:
       
    35 	CPbapAuthPasswordGetter(CPbapServer& aParent);
       
    36 	void ConstructL();
       
    37 
       
    38 	// from CActive
       
    39 	void RunL();
       
    40 	void DoCancel();
       
    41 
       
    42 private:
       
    43 	CPbapServer& iParent;
       
    44 	RNotifier iNotifier;
       
    45 	TPbapAuthNotifierResponsePckg iResultsPckg;
       
    46 	};
       
    47 
       
    48 #endif // PBAPAUTHPASSWORDGETTER_H