OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 XFA_FWL_CORE_CFWL_MESSAGE_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_MESSAGE_H_ |
8 #define XFA_FWL_CORE_CFWL_MESSAGE_H_ | 8 #define XFA_FWL_CORE_CFWL_MESSAGE_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 16 matching lines...) Expand all Loading... |
27 class CFWL_Message { | 27 class CFWL_Message { |
28 public: | 28 public: |
29 explicit CFWL_Message(CFWL_MessageType type); | 29 explicit CFWL_Message(CFWL_MessageType type); |
30 virtual ~CFWL_Message(); | 30 virtual ~CFWL_Message(); |
31 | 31 |
32 virtual std::unique_ptr<CFWL_Message> Clone(); | 32 virtual std::unique_ptr<CFWL_Message> Clone(); |
33 CFWL_MessageType GetClassID() const { return m_type; } | 33 CFWL_MessageType GetClassID() const { return m_type; } |
34 | 34 |
35 CFWL_Widget* m_pSrcTarget; | 35 CFWL_Widget* m_pSrcTarget; |
36 CFWL_Widget* m_pDstTarget; | 36 CFWL_Widget* m_pDstTarget; |
37 uint32_t m_dwExtend; | |
38 | 37 |
39 private: | 38 private: |
40 CFWL_MessageType m_type; | 39 CFWL_MessageType m_type; |
41 }; | 40 }; |
42 | 41 |
43 | 42 |
44 #endif // XFA_FWL_CORE_CFWL_MESSAGE_H_ | 43 #endif // XFA_FWL_CORE_CFWL_MESSAGE_H_ |
OLD | NEW |