32
|
1 |
/*
|
|
2 |
* Copyright (c) 2005 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: PC Connectivity Plug-in resource file
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#include "registryinfo.rh"
|
|
20 |
|
|
21 |
// Declares info for two implementations
|
|
22 |
RESOURCE REGISTRY_INFO theInfo
|
|
23 |
{
|
|
24 |
// UID for the DLL
|
|
25 |
dll_uid = 0x101F8636;
|
|
26 |
// Declare array of interface info
|
|
27 |
interfaces =
|
|
28 |
{
|
|
29 |
INTERFACE_INFO
|
|
30 |
{
|
|
31 |
// UID of interface that is implemented
|
|
32 |
interface_uid = 0x101F7C8C;
|
|
33 |
implementations =
|
|
34 |
{
|
|
35 |
// Info for CSConPCConnplugin
|
|
36 |
IMPLEMENTATION_INFO
|
|
37 |
{
|
|
38 |
implementation_uid = 0x101F8636;
|
|
39 |
version_no = 1;
|
|
40 |
display_name = "Obex Services";
|
|
41 |
default_data = "OBEX/BT||OBEX/IrDA";
|
|
42 |
|
|
43 |
//
|
|
44 |
// opaque_data contains parameters used by following API calls in SRCS:
|
|
45 |
// 1. Setup USB interface string descriptor in Unicode;
|
|
46 |
// 2. TInt CObex::SetLocalWho(const TDesC8& aInfo);
|
|
47 |
// 3. TInt CBTConnection::RegisterSecuritySettingsL( TUint aService,
|
|
48 |
// TInt aProtocol,
|
|
49 |
// TInt aChannel,
|
|
50 |
// TBool aAuthenticate,
|
|
51 |
// TBool aAuthorise,
|
|
52 |
// TBool aEncrypt );
|
|
53 |
// opaque_data = "@0||@1||@2||@3||@4||@5||@6"
|
|
54 |
// @0 aStrDesc e.g. "PC Connectivity"
|
|
55 |
// @1 aInfo e.g. KFolderBrowsingID, "\xF9\xEC\x7B\xC4\x95\x3C\x11\xd2\x98\x4E\x52\x54\x00\xDC\x9E\x09"
|
|
56 |
// @2 aService e.g. KBTSecurityUidFileTransfer, 0x1106
|
|
57 |
// @3 aProtocol e.g. KSolBtRFCOMM, 0x1013
|
|
58 |
// @4 aAuthenticate e.g. EFalse, 0
|
|
59 |
// @5 aAuthorise e.g. EFalse, 0
|
|
60 |
// @6 aEncrypt e.g. EFalse, 0
|
|
61 |
//
|
|
62 |
opaque_data = "OBEX|"\
|
|
63 |
"||"\
|
|
64 |
"|0x1105|"\
|
|
65 |
"|0x1013|"\
|
|
66 |
"|0|"\
|
|
67 |
"|1|"\
|
|
68 |
"|0|"\
|
|
69 |
"|0xfffe|"\
|
|
70 |
"|0xfffe";
|
|
71 |
}
|
|
72 |
};
|
|
73 |
}
|
|
74 |
};
|
|
75 |
}
|
|
76 |
|