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