OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _JS_EVENTHANDLER_H_ | 7 #ifndef _JS_EVENTHANDLER_H_ |
8 #define _JS_EVENTHANDLER_H_ | 8 #define _JS_EVENTHANDLER_H_ |
9 | 9 |
| 10 #include "../../../core/include/fxcrt/fx_string.h" |
| 11 #include "../../../core/include/fxcrt/fx_system.h" |
| 12 |
10 class CJS_Context; | 13 class CJS_Context; |
| 14 class CPDFSDK_Annot; |
| 15 class CPDFSDK_Document; |
| 16 class CPDF_Bookmark; |
| 17 class CPDF_FormField; |
11 class Field; | 18 class Field; |
12 | 19 |
13 enum JS_EVENT_T | 20 enum JS_EVENT_T |
14 { | 21 { |
15 JET_UNKNOWN, | 22 JET_UNKNOWN, |
16 JET_APP_INIT, | 23 JET_APP_INIT, |
17 JET_DOC_OPEN, | 24 JET_DOC_OPEN, |
18 JET_DOC_WILLPRINT, | 25 JET_DOC_WILLPRINT, |
19 JET_DOC_DIDPRINT, | 26 JET_DOC_DIDPRINT, |
20 JET_DOC_WILLSAVE, | 27 JET_DOC_WILLSAVE, |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 FX_BOOL m_bRcDu; | 165 FX_BOOL m_bRcDu; |
159 | 166 |
160 CPDFSDK_Document* m_pSourceDoc; | 167 CPDFSDK_Document* m_pSourceDoc; |
161 CPDF_Bookmark* m_pTargetBookMark; | 168 CPDF_Bookmark* m_pTargetBookMark; |
162 CPDFSDK_Document* m_pTargetDoc; | 169 CPDFSDK_Document* m_pTargetDoc; |
163 CPDFSDK_Annot* m_pTargetAnnot; | 170 CPDFSDK_Annot* m_pTargetAnnot; |
164 }; | 171 }; |
165 | 172 |
166 #endif //_JS_EVENTHANDLER_H_ | 173 #endif //_JS_EVENTHANDLER_H_ |
167 | 174 |
OLD | NEW |