usbmgmt/usbmgrtest/ObexClassController/ObexUsbClassController/public/clientServerShared.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 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: |
|
15 * This is the Shared header needed for implementing the Obex Class Controller |
|
16 * configuration. |
|
17 * |
|
18 */ |
|
19 |
|
20 #include <e32base.h> |
|
21 // server name |
|
22 |
|
23 _LIT(KServerName,"ObexServer"); |
|
24 |
|
25 // Server location |
|
26 |
|
27 _LIT(KServerExe,"z:\\sys\\bin\\classControllerServerSession.exe"); |
|
28 |
|
29 const TUint32 KObexCCUidTUint = 0x10281916; |
|
30 const TUid KObexCCUid = {KObexCCUidTUint}; |
|
31 |
|
32 |
|
33 // A version must be specifyed when creating a session with the server |
|
34 |
|
35 const TUint KMajorVersionNumber=1; |
|
36 const TUint KMinorVersionNumber=0; |
|
37 const TUint KBuildVersionNumber=0; |
|
38 const TInt KMessageSlots=-1; |
|
39 |
|
40 /** |
|
41 * Declaration of function |
|
42 */ |
|
43 IMPORT_C TInt StartThread(RThread& aServerThread); |
|
44 |
|
45 enum TServRqst |
|
46 { |
|
47 EStartClassContServer, |
|
48 EStopClassContServer |
|
49 }; |