equal
deleted
inserted
replaced
|
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 PBAPCLIENTSERVER_H |
|
17 #define PBAPCLIENTSERVER_H |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 /** |
|
22 Pbap Client and Server Utilities |
|
23 */ |
|
24 |
|
25 // server name |
|
26 _LIT(KPbapServerName,"!PBAP"); // Server object name |
|
27 _LIT(KPbapServerImg,"btaccesshost"); // Server image name (.exe implied) |
|
28 |
|
29 |
|
30 const TUid KPbapServerUid={0x102825b2}; |
|
31 |
|
32 // A version must be specified when creating a session with the server |
|
33 const TUint KPbapServerMajorVersionNumber=1; |
|
34 const TUint KPbapServerMinorVersionNumber=0; |
|
35 const TUint KPbapServerBuildVersionNumber=0; |
|
36 |
|
37 |
|
38 // opcodes used in message passing between client and server |
|
39 enum TPbapServerRequest |
|
40 { |
|
41 EPbapStartListening, |
|
42 EPbapStopListening, |
|
43 EPbapSetPassword, |
|
44 EPbapDbgMarkHeap, |
|
45 EPbapDbgCheckHeap, |
|
46 EPbapDbgMarkEnd, |
|
47 EPbapDbgFailNext |
|
48 }; |
|
49 |
|
50 |
|
51 #endif //PBAPCLIENTSERVER_H |