Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfwl_eventmouse.h
Go to the documentation of this file.
1// Copyright 2016 The PDFium Authors
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 XFA_FWL_CFWL_EVENTMOUSE_H_
8#define XFA_FWL_CFWL_EVENTMOUSE_H_
9
10#include "xfa/fwl/cfwl_event.h"
11#include "xfa/fwl/cfwl_messagemouse.h"
12
13namespace pdfium {
14
15class CFWL_EventMouse final : public CFWL_Event {
16 public:
17 CFWL_EventMouse(CFWL_Widget* pSrcTarget,
18 CFWL_Widget* pDstTarget,
19 CFWL_MessageMouse::MouseCommand cmd);
20 ~CFWL_EventMouse() override;
21
22 CFWL_MessageMouse::MouseCommand GetCommand() const { return m_dwCmd; }
23
24 private:
25 const CFWL_MessageMouse::MouseCommand m_dwCmd;
26};
27
28} // namespace pdfium
29
30// TODO(crbug.com/42271761): Remove.
31using pdfium::CFWL_EventMouse;
32
33#endif // XFA_FWL_CFWL_EVENTMOUSE_H_
CFWL_MessageMouse::MouseCommand GetCommand() const
CFWL_EventMouse(CFWL_Widget *pSrcTarget, CFWL_Widget *pDstTarget, CFWL_MessageMouse::MouseCommand cmd)
CFWL_Event(Type type, CFWL_Widget *pSrcTarget, CFWL_Widget *pDstTarget)