1 // Copyright 2014 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef _FWL_ADAPTER_NATIVE_H 8 #define _FWL_ADAPTER_NATIVE_H 9 class IFWL_WidgetMgrDelegate; 10 class IFWL_AdapterWidgetMgr; 11 class IFWL_AdapterThreadMgr; 12 class IFWL_AdapterTimerMgr; 13 class IFWL_AdapterCursorMgr; 14 class IFWL_AdapterMonitorMgr; 15 class IFWL_AdapterClipboardMgr; 16 17 class IFWL_AdapterNative { 18 public: 19 virtual ~IFWL_AdapterNative() {} 20 virtual IFWL_AdapterWidgetMgr* GetWidgetMgr( 21 IFWL_WidgetMgrDelegate* pDelegate) = 0; 22 virtual IFWL_AdapterThreadMgr* GetThreadMgr() = 0; 23 virtual IFWL_AdapterTimerMgr* GetTimerMgr() = 0; 24 virtual IFWL_AdapterCursorMgr* GetCursorMgr() = 0; 25 virtual IFWL_AdapterMonitorMgr* GetMonitorMgr() = 0; 26 virtual IFWL_AdapterClipboardMgr* GetClipboardMgr() = 0; 27 }; 28 IFWL_AdapterNative* FWL_CreateFuelAdapterNative(); 29 void FWL_ReleaseFuelAdapterNative(IFWL_AdapterNative* pAdapterNative); 30 #endif 31