equal
deleted
inserted
replaced
|
1 // Copyright (c) 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 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef PTPDEF_H |
|
23 #define PTPDEF_H |
|
24 |
|
25 #include <e32std.h> |
|
26 #include <comms-infras/commsdebugutility.h> // for __FLOG debugging |
|
27 |
|
28 _LIT( KPTPServer, "PtpServer" ); |
|
29 _LIT( KPTPClientPanicCategory, "PTPServ-Client"); |
|
30 |
|
31 __FLOG_STMT(_LIT8(KComponent, "PictBridgeDp");) |
|
32 __FLOG_STMT(_LIT8(KPtpServerLog, "PTPServer");) |
|
33 |
|
34 const TInt KPtpServerVersionMinor = 1; |
|
35 const TInt KPtpServerVersionMajor = 1; |
|
36 const TInt KFileNameAndPathLength = 32; |
|
37 |
|
38 enum TPtpPanicsClient |
|
39 { |
|
40 ECannotStartServer, |
|
41 EBadRequest, |
|
42 ERequestPending |
|
43 }; |
|
44 |
|
45 enum TPtpClientMessage |
|
46 { |
|
47 EPtpCreateStack, |
|
48 EPtpDestroyStack, |
|
49 EPtpRegister, |
|
50 ECancelIsDpsPrinter, |
|
51 EIsDpsPrinter, |
|
52 EGetObjectHandleByName, |
|
53 EGetNameByObjectHandle, |
|
54 ESendObject, |
|
55 ECancelSendObject, |
|
56 EObjectReceivedNotify, |
|
57 ECancelObjectReceivedNotify, |
|
58 EPtpFolder |
|
59 }; |
|
60 |
|
61 #endif // PTPDEF_H |
|
62 |