| 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 XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
| 8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" | 10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 FX_FLOAT& r, | 69 FX_FLOAT& r, |
| 70 FX_FLOAT& b); | 70 FX_FLOAT& b); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { | 73 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { |
| 74 public: | 74 public: |
| 75 CFWL_SDAdapterThreadMgr(); | 75 CFWL_SDAdapterThreadMgr(); |
| 76 ~CFWL_SDAdapterThreadMgr(); | 76 ~CFWL_SDAdapterThreadMgr(); |
| 77 | 77 |
| 78 public: | 78 public: |
| 79 virtual FWL_ERR Start(IFWL_Thread* pThread, | |
| 80 FWL_HTHREAD& hThread, | |
| 81 FX_BOOL bSuspended = FALSE); | |
| 82 virtual FWL_ERR Resume(FWL_HTHREAD hThread); | |
| 83 virtual FWL_ERR Suspend(FWL_HTHREAD hThread); | |
| 84 virtual FWL_ERR Kill(FWL_HTHREAD hThread, int32_t iExitCode); | |
| 85 virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode); | |
| 86 virtual IFWL_Thread* GetCurrentThread(); | 79 virtual IFWL_Thread* GetCurrentThread(); |
| 87 }; | 80 }; |
| 88 | 81 |
| 89 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 82 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
| OLD | NEW |