32
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-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: Profile controller interface
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef C_BTPROFILECONTROLLER_H
|
|
21 |
#define C_BTPROFILECONTROLLER_H
|
|
22 |
|
|
23 |
|
|
24 |
#include <e32base.h>
|
|
25 |
|
|
26 |
#include "BTServiceClient.h"
|
|
27 |
|
|
28 |
|
|
29 |
class CBTServiceClient;
|
|
30 |
|
|
31 |
/**
|
|
32 |
* ProfileControllerIntreface definition
|
|
33 |
*
|
|
34 |
* @endcode
|
|
35 |
*
|
|
36 |
* @lib ?library
|
|
37 |
* @since S60 v.3.2
|
|
38 |
*/
|
|
39 |
NONSHARABLE_CLASS (CBTSController) : public CBase
|
|
40 |
{
|
|
41 |
|
|
42 |
public:
|
|
43 |
|
|
44 |
CBTSController();
|
|
45 |
/**
|
|
46 |
* Destructor.
|
|
47 |
*/
|
|
48 |
virtual ~CBTSController();
|
|
49 |
|
|
50 |
/**
|
|
51 |
* Abort command to client
|
|
52 |
*
|
|
53 |
* @since S60 v.3.2
|
|
54 |
* @return None
|
|
55 |
*/
|
|
56 |
void Abort( );
|
42
|
57 |
|
|
58 |
|
|
59 |
virtual void SendUnSupportedFiles();
|
32
|
60 |
|
|
61 |
protected:
|
|
62 |
|
|
63 |
/**
|
|
64 |
* Create client
|
|
65 |
*
|
|
66 |
* @since S60 v.3.2
|
|
67 |
* @return None
|
|
68 |
*/
|
|
69 |
void CreateClientL(MBTServiceClientObserver* aObserver,
|
|
70 |
const TBTDevAddr& aRemoteDevice,
|
|
71 |
const TUint aRemotePort,
|
|
72 |
RArray<CObexHeader*> aHeaderList );
|
|
73 |
|
|
74 |
|
|
75 |
protected: // data
|
|
76 |
|
|
77 |
/**
|
|
78 |
* Service client
|
|
79 |
* Not own.
|
|
80 |
*/
|
|
81 |
CBTServiceClient* iClient;
|
|
82 |
|
|
83 |
};
|
|
84 |
|
|
85 |
|
|
86 |
#endif // C_BTPROFILECONTROLLER_H
|