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 #include "xfa/include/fwl/adapter/fwl_sdadapterimp.h" | 7 #include "xfa/include/fwl/adapter/fwl_sdadapterimp.h" |
8 | 8 |
9 #include "core/include/fxcrt/fx_system.h" | 9 #include "core/include/fxcrt/fx_system.h" |
10 #include "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h" | 10 #include "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h" |
11 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" | 11 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" |
12 #include "xfa/include/fwl/core/fwl_app.h" | 12 #include "xfa/include/fwl/core/fwl_app.h" |
13 #include "xfa/src/fwl/src/core/fwl_noteimp.h" | 13 #include "xfa/src/fwl/core/fwl_noteimp.h" |
14 #include "xfa/src/fwl/src/core/fwl_targetimp.h" | 14 #include "xfa/src/fwl/core/fwl_targetimp.h" |
15 #include "xfa/src/fwl/src/core/fwl_threadimp.h" | 15 #include "xfa/src/fwl/core/fwl_threadimp.h" |
16 #include "xfa/src/fwl/src/core/fwl_widgetmgrimp.h" | 16 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h" |
17 | 17 |
18 CFWL_SDAdapterWidgetMgr::CFWL_SDAdapterWidgetMgr() {} | 18 CFWL_SDAdapterWidgetMgr::CFWL_SDAdapterWidgetMgr() {} |
19 CFWL_SDAdapterWidgetMgr::~CFWL_SDAdapterWidgetMgr() {} | 19 CFWL_SDAdapterWidgetMgr::~CFWL_SDAdapterWidgetMgr() {} |
20 | 20 |
21 FWL_ERR CFWL_SDAdapterWidgetMgr::CreateWidget(IFWL_Widget* pWidget, | 21 FWL_ERR CFWL_SDAdapterWidgetMgr::CreateWidget(IFWL_Widget* pWidget, |
22 IFWL_Widget* pParent) { | 22 IFWL_Widget* pParent) { |
23 return FWL_ERR_Succeeded; | 23 return FWL_ERR_Succeeded; |
24 } | 24 } |
25 FWL_ERR CFWL_SDAdapterWidgetMgr::DestroyWidget(IFWL_Widget* pWidget) { | 25 FWL_ERR CFWL_SDAdapterWidgetMgr::DestroyWidget(IFWL_Widget* pWidget) { |
26 return FWL_ERR_Succeeded; | 26 return FWL_ERR_Succeeded; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 } | 166 } |
167 FWL_ERR CFWL_SDAdapterThreadMgr::Kill(FWL_HTHREAD hThread, int32_t iExitCode) { | 167 FWL_ERR CFWL_SDAdapterThreadMgr::Kill(FWL_HTHREAD hThread, int32_t iExitCode) { |
168 return FWL_ERR_Succeeded; | 168 return FWL_ERR_Succeeded; |
169 } | 169 } |
170 FWL_ERR CFWL_SDAdapterThreadMgr::Stop(FWL_HTHREAD hThread, int32_t iExitCode) { | 170 FWL_ERR CFWL_SDAdapterThreadMgr::Stop(FWL_HTHREAD hThread, int32_t iExitCode) { |
171 return FWL_ERR_Succeeded; | 171 return FWL_ERR_Succeeded; |
172 } | 172 } |
173 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { | 173 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { |
174 return FWL_GetApp(); | 174 return FWL_GetApp(); |
175 } | 175 } |
OLD | NEW |