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_MONITORMGR_H | 7 #ifndef _FWL_ADAPTER_MONITORMGR_H |
8 #define _FWL_ADAPTER_MONITORMGR_H | 8 #define _FWL_ADAPTER_MONITORMGR_H |
9 class IFWL_AdapterMonitorMgr; | 9 class IFWL_AdapterMonitorMgr; |
10 typedef struct _FWL_HMONITOR { | 10 typedef struct _FWL_HMONITOR { |
11 FX_LPVOID pData; | 11 FX_LPVOID pData; |
12 } *FWL_HMONITOR; | 12 } *FWL_HMONITOR; |
13 class IFWL_AdapterMonitorMgr | 13 class IFWL_AdapterMonitorMgr |
14 { | 14 { |
15 public: | 15 public: |
16 virtual FX_INT32» » CountMonitors() = 0; | 16 virtual int32_t» » CountMonitors() = 0; |
17 virtual FWL_HMONITOR» GetMonitor(FX_INT32 nIndex) = 0; | 17 virtual FWL_HMONITOR» GetMonitor(int32_t nIndex) = 0; |
18 virtual FWL_HMONITOR GetCurrentMonitor() = 0; | 18 virtual FWL_HMONITOR GetCurrentMonitor() = 0; |
19 virtual FWL_HMONITOR GetMonitorByRect(const CFX_RectF &rect) = 0; | 19 virtual FWL_HMONITOR GetMonitorByRect(const CFX_RectF &rect) = 0; |
20 virtual FWL_HMONITOR GetMonitorByPoint(FX_FLOAT fx, FX_FLOAT fy) = 0; | 20 virtual FWL_HMONITOR GetMonitorByPoint(FX_FLOAT fx, FX_FLOAT fy) = 0; |
21 virtual FWL_ERR GetMonitorSize(FWL_HMONITOR hMonitor, FX
_FLOAT &fx, FX_FLOAT &fy) = 0; | 21 virtual FWL_ERR GetMonitorSize(FWL_HMONITOR hMonitor, FX
_FLOAT &fx, FX_FLOAT &fy) = 0; |
22 }; | 22 }; |
23 #endif | 23 #endif |
OLD | NEW |