| 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 _FWL_ADAPTER_NATIVE_H | 7 #ifndef _FWL_ADAPTER_NATIVE_H |
| 8 #define _FWL_ADAPTER_NATIVE_H | 8 #define _FWL_ADAPTER_NATIVE_H |
| 9 |
| 9 class IFWL_WidgetMgrDelegate; | 10 class IFWL_WidgetMgrDelegate; |
| 10 class IFWL_AdapterWidgetMgr; | 11 class IFWL_AdapterWidgetMgr; |
| 11 class IFWL_AdapterThreadMgr; | 12 class IFWL_AdapterThreadMgr; |
| 12 class IFWL_AdapterTimerMgr; | 13 class IFWL_AdapterTimerMgr; |
| 13 class IFWL_AdapterCursorMgr; | |
| 14 class IFWL_AdapterMonitorMgr; | |
| 15 class IFWL_AdapterClipboardMgr; | |
| 16 | 14 |
| 17 class IFWL_AdapterNative { | 15 class IFWL_AdapterNative { |
| 18 public: | 16 public: |
| 19 virtual ~IFWL_AdapterNative() {} | 17 virtual ~IFWL_AdapterNative() {} |
| 20 virtual IFWL_AdapterWidgetMgr* GetWidgetMgr( | 18 virtual IFWL_AdapterWidgetMgr* GetWidgetMgr( |
| 21 IFWL_WidgetMgrDelegate* pDelegate) = 0; | 19 IFWL_WidgetMgrDelegate* pDelegate) = 0; |
| 22 virtual IFWL_AdapterThreadMgr* GetThreadMgr() = 0; | 20 virtual IFWL_AdapterThreadMgr* GetThreadMgr() = 0; |
| 23 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; | 21 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; |
| 24 virtual IFWL_AdapterCursorMgr* GetCursorMgr() = 0; | |
| 25 virtual IFWL_AdapterMonitorMgr* GetMonitorMgr() = 0; | |
| 26 virtual IFWL_AdapterClipboardMgr* GetClipboardMgr() = 0; | |
| 27 }; | 22 }; |
| 28 IFWL_AdapterNative* FWL_CreateFuelAdapterNative(); | 23 IFWL_AdapterNative* FWL_CreateFuelAdapterNative(); |
| 29 void FWL_ReleaseFuelAdapterNative(IFWL_AdapterNative* pAdapterNative); | 24 void FWL_ReleaseFuelAdapterNative(IFWL_AdapterNative* pAdapterNative); |
| 30 #endif | 25 #endif |
| OLD | NEW |