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 _FWL_PANEL_H | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_PANEL_H_ |
8 #define _FWL_PANEL_H | 8 #define XFA_INCLUDE_FWL_CORE_FWL_PANEL_H_ |
| 9 |
9 class IFWL_Widget; | 10 class IFWL_Widget; |
10 class IFWL_Content; | 11 class IFWL_Content; |
11 class IFWL_Panel; | 12 class IFWL_Panel; |
12 class IFWL_CustomPanel; | 13 class IFWL_CustomPanel; |
13 #define FWL_CLASS_Panel L"FWL_Panel" | 14 #define FWL_CLASS_Panel L"FWL_Panel" |
14 #define FWL_CLASSHASH_Panel 881567292 | 15 #define FWL_CLASSHASH_Panel 881567292 |
15 | 16 |
16 class IFWL_Panel : public IFWL_Widget { | 17 class IFWL_Panel : public IFWL_Widget { |
17 public: | 18 public: |
18 static IFWL_Panel* Create(CFWL_WidgetImpProperties& properties, | 19 static IFWL_Panel* Create(CFWL_WidgetImpProperties& properties, |
(...skipping 11 matching lines...) Expand all Loading... |
30 static IFWL_CustomPanel* Create(CFWL_WidgetImpProperties& properties, | 31 static IFWL_CustomPanel* Create(CFWL_WidgetImpProperties& properties, |
31 IFWL_Widget* pOuter); | 32 IFWL_Widget* pOuter); |
32 | 33 |
33 IFWL_Content* GetContent(); | 34 IFWL_Content* GetContent(); |
34 FWL_ERR SetContent(IFWL_Content* pContent); | 35 FWL_ERR SetContent(IFWL_Content* pContent); |
35 FWL_ERR SetProxy(IFWL_Proxy* pProxy); | 36 FWL_ERR SetProxy(IFWL_Proxy* pProxy); |
36 | 37 |
37 protected: | 38 protected: |
38 IFWL_CustomPanel(); | 39 IFWL_CustomPanel(); |
39 }; | 40 }; |
40 #endif | 41 |
| 42 #endif // XFA_INCLUDE_FWL_CORE_FWL_PANEL_H_ |
OLD | NEW |