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 _APP_H_ | 7 #ifndef _APP_H_ |
8 #define _APP_H_ | 8 #define _APP_H_ |
9 | 9 |
10 class CJS_Runtime; | 10 class CJS_Runtime; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 public: | 161 public: |
162 static CFX_WideString SysPathToPDFPath(const CFX_WideString& s
OldPath); | 162 static CFX_WideString SysPathToPDFPath(const CFX_WideString& s
OldPath); |
163 static CFX_WideString PDFPathToSysPath(const CFX_WideString& s
OldPath); | 163 static CFX_WideString PDFPathToSysPath(const CFX_WideString& s
OldPath); |
164 static CFX_WideString RelativePathToSysPath(const CFX_WideStri
ng& sOldPath, const CFX_WideString& sFilePath); | 164 static CFX_WideString RelativePathToSysPath(const CFX_WideStri
ng& sOldPath, const CFX_WideString& sFilePath); |
165 | 165 |
166 | 166 |
167 private: | 167 private: |
168 | 168 |
169 bool m_bCalculate; | 169 bool m_bCalculate; |
170 CJS_Runtime* m_pRuntime; | |
171 bool m_bRuntimeHighLight; | 170 bool m_bRuntimeHighLight; |
172 | 171 |
173 CFX_ArrayTemplate<CJS_Timer*> m_aTimer; | 172 CFX_ArrayTemplate<CJS_Timer*> m_aTimer; |
174 // APP_MENU* m_pMenuHead; | 173 // APP_MENU* m_pMenuHead; |
175 | 174 |
176 public: | 175 public: |
177 // static CReader_App* s_App; | 176 // static CReader_App* s_App; |
178 }; | 177 }; |
179 | 178 |
180 class CJS_App : public CJS_Object | 179 class CJS_App : public CJS_Object |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 JS_STATIC_METHOD(openFDF, app); | 215 JS_STATIC_METHOD(openFDF, app); |
217 JS_STATIC_METHOD(popUpMenuEx, app); | 216 JS_STATIC_METHOD(popUpMenuEx, app); |
218 JS_STATIC_METHOD(popUpMenu, app); | 217 JS_STATIC_METHOD(popUpMenu, app); |
219 JS_STATIC_METHOD(response, app); | 218 JS_STATIC_METHOD(response, app); |
220 JS_STATIC_METHOD(setInterval, app); | 219 JS_STATIC_METHOD(setInterval, app); |
221 JS_STATIC_METHOD(setTimeOut, app); | 220 JS_STATIC_METHOD(setTimeOut, app); |
222 | 221 |
223 }; | 222 }; |
224 | 223 |
225 #endif //_APP_H_ | 224 #endif //_APP_H_ |
OLD | NEW |