32
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-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: CObexSMPasskey definition
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef _OBEXSMPASSKEY_H
|
|
20 |
#define _OBEXSMPASSKEY_H
|
|
21 |
|
|
22 |
#include <btnotif.h>
|
|
23 |
|
|
24 |
class CObexServer;
|
|
25 |
|
|
26 |
/**
|
|
27 |
* Class to handle BT Obex Passkey events
|
|
28 |
*/
|
|
29 |
class CObexSMPasskey : public CActive
|
|
30 |
{
|
|
31 |
public:
|
|
32 |
static CObexSMPasskey* NewL();
|
|
33 |
~CObexSMPasskey();
|
|
34 |
|
|
35 |
void StartPassKeyRequestL(CObexServer* aObexServer);
|
|
36 |
|
|
37 |
private:
|
|
38 |
CObexSMPasskey();
|
|
39 |
void Cleanup();
|
|
40 |
|
|
41 |
private: // from CActive
|
|
42 |
void DoCancel();
|
|
43 |
void RunL();
|
|
44 |
TInt RunError(TInt aError);
|
|
45 |
|
|
46 |
private:
|
|
47 |
RNotifier iNotif; // For Obex passkey notifier
|
|
48 |
TObexPasskeyBuf iObexPasskey; // Obex passkey
|
|
49 |
CObexServer* iObexServer; // Obex Server
|
|
50 |
};
|
|
51 |
|
|
52 |
#endif
|
|
53 |
|
|
54 |
// End of File
|