|
1 /* |
|
2 * Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "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 * Kanrikogaku Kenkyusho, Ltd. - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // Protection against nested includes |
|
20 #ifndef DIRECTPRINTCLIENTSERVER_H |
|
21 #define DIRECTPRINTCLIENTSERVER_H |
|
22 |
|
23 // System include files |
|
24 #include <e32std.h> |
|
25 |
|
26 // User include files |
|
27 #include "directprintserveruid.h" |
|
28 |
|
29 _LIT( KDirectPrintServerName, "directprintserver" ); |
|
30 _LIT( KDirectPrintServerImg, "directprintserver" ); // EXE name |
|
31 |
|
32 const TInt KMaxDirectPrintMessage = 512; |
|
33 const TInt KDirectPrintServerMajor = 0; |
|
34 const TInt KDirectPrintServerMinor = 0; |
|
35 const TInt KDirectPrintServerBuild = 0; |
|
36 |
|
37 enum TDirectPrintMessages |
|
38 { |
|
39 ECountConnections = 0, |
|
40 ESetForeground, |
|
41 EReserveEngine, |
|
42 EReleaseEngine, |
|
43 ESupportedProtocols, |
|
44 EGetNumPrintPages, |
|
45 EGetJobStatus, |
|
46 EGetPrinterStatus, |
|
47 ECancelDiscovery, |
|
48 ESubmitPrintJob, |
|
49 ECancelPrintJob, // 10 |
|
50 EContinuePrintJob, |
|
51 ERemoveCachedPrinter, |
|
52 EGetJobTemplateIcon, |
|
53 EGetNumPreviewPages, |
|
54 ESetJobSetting, |
|
55 EGetJobSetting, |
|
56 EGetPrinterCapability, |
|
57 EGetPrinterCapId, |
|
58 EGetPrinterCapType, |
|
59 EGetPrinterCapDef, // 20 |
|
60 EGetPrinterCapLow, |
|
61 EGetPrinterCapHigh, |
|
62 EGetPrinterCapEnumCount, |
|
63 EGetPrinterCapEnum, |
|
64 EGetPrinterCapabilityIDsCount, |
|
65 EGetPrinterCapabilityID, |
|
66 ERegisterIdleObserver, |
|
67 ECancelRegisterIdleObserver, |
|
68 EStartDiscovery, |
|
69 EContinueDiscovery, // 30 |
|
70 EPrepareJob, |
|
71 ECreateJob, |
|
72 EContinueCreateJob, |
|
73 ECancelStartDiscovery, |
|
74 ECancelCreateJob, |
|
75 EIsPictBridgeMode, |
|
76 ESetNumberOfCopiesCount, |
|
77 ESetNumberOfCopies, // 38 |
|
78 EGetProtocolNamesCount, |
|
79 EGetProtocolName |
|
80 }; |
|
81 |
|
82 #endif// DIRECTPRINTCLIENTSERVER_H |
|
83 |
|
84 // End of File |