xref: /aosp_15_r20/external/pdfium/xfa/fwl/cfwl_messagekey.cpp (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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 #include "xfa/fwl/cfwl_messagekey.h"
8 
CFWL_MessageKey(CFWL_Widget * pDstTarget,KeyCommand cmd,Mask<XFA_FWL_KeyFlag> flags,uint32_t dwKeyCodeOrChar)9 CFWL_MessageKey::CFWL_MessageKey(CFWL_Widget* pDstTarget,
10                                  KeyCommand cmd,
11                                  Mask<XFA_FWL_KeyFlag> flags,
12                                  uint32_t dwKeyCodeOrChar)
13     : CFWL_Message(CFWL_Message::Type::kKey, pDstTarget),
14       m_dwCmd(cmd),
15       m_dwFlags(flags),
16       m_dwKeyCodeOrChar(dwKeyCodeOrChar) {}
17 
18 CFWL_MessageKey::~CFWL_MessageKey() = default;
19