|
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 // Protection against nested includes |
|
19 #ifndef __DIRECTPRINTENGINEOBSERVER_H__ |
|
20 #define __DIRECTPRINTENGINEOBSERVER_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 class MDirectPrintEngineObserver |
|
28 { |
|
29 public: |
|
30 enum TDirectPrintEngineEvents |
|
31 { |
|
32 EDirectPrintEngineEventStartCreatePrintData, |
|
33 EDirectPrintEngineEventFinishCreatePrintData, |
|
34 EDirectPrintEngineEventCancelCreatePrintData, |
|
35 EDirectPrintEngineEventErrorCreatePrintData, |
|
36 |
|
37 EDirectPrintEngineEventErrorConnectBearer, |
|
38 EDirectPrintEngineEventConnectedBearer, |
|
39 // add any events, if needed |
|
40 |
|
41 // end of event |
|
42 EDirectPrintEngineEventEnd |
|
43 }; |
|
44 |
|
45 public: |
|
46 virtual void HandlePrintEventL(TDirectPrintEngineEvents aEvent, TInt aError, const TDesC& aParam) = 0; |
|
47 }; |
|
48 |
|
49 #endif // __DIRECTPRINTENGINEOBSERVER_H__ |
|
50 // End of file |