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 XFA_FWL_CORE_IFWL_PANEL_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_PANEL_H_ |
8 #define XFA_FWL_CORE_IFWL_PANEL_H_ | 8 #define XFA_FWL_CORE_IFWL_PANEL_H_ |
9 | 9 |
10 #include "xfa/fwl/core/fwl_widgetimp.h" | 10 #include "xfa/fwl/core/fwl_widgetimp.h" |
11 #include "xfa/fwl/core/ifwl_widget.h" | 11 #include "xfa/fwl/core/ifwl_widget.h" |
12 | 12 |
13 class IFWL_Content; | |
14 | |
15 #define FWL_CLASS_Panel L"FWL_Panel" | 13 #define FWL_CLASS_Panel L"FWL_Panel" |
16 #define FWL_CLASSHASH_Panel 881567292 | 14 #define FWL_CLASSHASH_Panel 881567292 |
17 | 15 |
18 class IFWL_Panel : public IFWL_Widget { | 16 class IFWL_Panel : public IFWL_Widget { |
19 public: | |
20 static IFWL_Panel* Create(CFWL_WidgetImpProperties& properties, | |
21 IFWL_Widget* pOuter); | |
22 | |
23 IFWL_Content* GetContent(); | |
24 FWL_ERR SetContent(IFWL_Content* pContent); | |
25 | |
26 protected: | 17 protected: |
27 IFWL_Panel(); | 18 IFWL_Panel(); |
28 }; | 19 }; |
29 | 20 |
30 #endif // XFA_FWL_CORE_IFWL_PANEL_H_ | 21 #endif // XFA_FWL_CORE_IFWL_PANEL_H_ |
OLD | NEW |