| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // void AddMenuItem(APP_MENUITEM
_ARRAY * pMenuItems, HMENU hMenu, MENUITEMINFO MenuItemInfo); | 153 // void AddMenuItem(APP_MENUITEM
_ARRAY * pMenuItems, HMENU hMenu, MENUITEMINFO MenuItemInfo); |
| 154 // void InitMenuItemInfo(MENUITE
MINFO& MenuItemInfo); | 154 // void InitMenuItemInfo(MENUITE
MINFO& MenuItemInfo); |
| 155 // void DestroyPopUpMenu(); | 155 // void DestroyPopUpMenu(); |
| 156 | 156 |
| 157 // void ParserMenuItem(APP_MENU*
pHead, const CJS_Parameters¶ms); | 157 // void ParserMenuItem(APP_MENU*
pHead, const CJS_Parameters¶ms); |
| 158 // void AddItemToMenu(APP_MENU*
pHead, HMENU hMenu, MENUITEMINFO MenuItemInfo); | 158 // void AddItemToMenu(APP_MENU*
pHead, HMENU hMenu, MENUITEMINFO MenuItemInfo); |
| 159 // void DestroyMenuItems(APP_MEN
U* pHead); | 159 // void DestroyMenuItems(APP_MEN
U* pHead); |
| 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); | |
| 164 static CFX_WideString RelativePathToSysPath(const CFX_WideStri
ng& sOldPath, const CFX_WideString& sFilePath); | |
| 165 | |
| 166 | 163 |
| 167 private: | 164 private: |
| 168 | 165 |
| 169 bool m_bCalculate; | 166 bool m_bCalculate; |
| 170 bool m_bRuntimeHighLight; | 167 bool m_bRuntimeHighLight; |
| 171 | 168 |
| 172 CFX_ArrayTemplate<CJS_Timer*> m_aTimer; | 169 CFX_ArrayTemplate<CJS_Timer*> m_aTimer; |
| 173 // APP_MENU* m_pMenuHead; | 170 // APP_MENU* m_pMenuHead; |
| 174 | 171 |
| 175 public: | 172 public: |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 JS_STATIC_METHOD(openFDF, app); | 212 JS_STATIC_METHOD(openFDF, app); |
| 216 JS_STATIC_METHOD(popUpMenuEx, app); | 213 JS_STATIC_METHOD(popUpMenuEx, app); |
| 217 JS_STATIC_METHOD(popUpMenu, app); | 214 JS_STATIC_METHOD(popUpMenu, app); |
| 218 JS_STATIC_METHOD(response, app); | 215 JS_STATIC_METHOD(response, app); |
| 219 JS_STATIC_METHOD(setInterval, app); | 216 JS_STATIC_METHOD(setInterval, app); |
| 220 JS_STATIC_METHOD(setTimeOut, app); | 217 JS_STATIC_METHOD(setTimeOut, app); |
| 221 | 218 |
| 222 }; | 219 }; |
| 223 | 220 |
| 224 #endif //_APP_H_ | 221 #endif //_APP_H_ |
| OLD | NEW |