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_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
8 #define XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ | 8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
9 | 9 |
10 #include "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h" | 10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" |
11 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" | 11 #include "xfa/fwl/core/ifwl_adapterwidgetmgr.h" |
12 | 12 |
13 class CFWL_SDAdapterWidgetMgr : public IFWL_AdapterWidgetMgr { | 13 class CFWL_SDAdapterWidgetMgr : public IFWL_AdapterWidgetMgr { |
14 public: | 14 public: |
15 CFWL_SDAdapterWidgetMgr(); | 15 CFWL_SDAdapterWidgetMgr(); |
16 ~CFWL_SDAdapterWidgetMgr(); | 16 ~CFWL_SDAdapterWidgetMgr(); |
17 virtual FWL_ERR CreateWidget(IFWL_Widget* pWidget, | 17 virtual FWL_ERR CreateWidget(IFWL_Widget* pWidget, |
18 IFWL_Widget* pParent = NULL); | 18 IFWL_Widget* pParent = NULL); |
19 virtual FWL_ERR DestroyWidget(IFWL_Widget* pWidget); | 19 virtual FWL_ERR DestroyWidget(IFWL_Widget* pWidget); |
20 virtual FWL_ERR SetWidgetRect(IFWL_Widget* pWidget, const CFX_RectF& rect); | 20 virtual FWL_ERR SetWidgetRect(IFWL_Widget* pWidget, const CFX_RectF& rect); |
21 virtual FWL_ERR SetWidgetPosition(IFWL_Widget* pWidget, | 21 virtual FWL_ERR SetWidgetPosition(IFWL_Widget* pWidget, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual FWL_ERR Start(IFWL_Thread* pThread, | 79 virtual FWL_ERR Start(IFWL_Thread* pThread, |
80 FWL_HTHREAD& hThread, | 80 FWL_HTHREAD& hThread, |
81 FX_BOOL bSuspended = FALSE); | 81 FX_BOOL bSuspended = FALSE); |
82 virtual FWL_ERR Resume(FWL_HTHREAD hThread); | 82 virtual FWL_ERR Resume(FWL_HTHREAD hThread); |
83 virtual FWL_ERR Suspend(FWL_HTHREAD hThread); | 83 virtual FWL_ERR Suspend(FWL_HTHREAD hThread); |
84 virtual FWL_ERR Kill(FWL_HTHREAD hThread, int32_t iExitCode); | 84 virtual FWL_ERR Kill(FWL_HTHREAD hThread, int32_t iExitCode); |
85 virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode); | 85 virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode); |
86 virtual IFWL_Thread* GetCurrentThread(); | 86 virtual IFWL_Thread* GetCurrentThread(); |
87 }; | 87 }; |
88 | 88 |
89 #endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ | 89 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
OLD | NEW |