Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / src / fwl / src / core / include / fwl_panelimp.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4 \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _FWL_PANEL_IMP_H\r
8 #define _FWL_PANEL_IMP_H\r
9 class CFWL_WidgetImp;\r
10 class CFWL_WidgetImpProperties;\r
11 class IFWL_Widget;\r
12 class IFWL_Content;\r
13 class CFWL_PanelImp;\r
14 class CFWL_PanelImp : public CFWL_WidgetImp\r
15 {\r
16 public:\r
17     CFWL_PanelImp(IFWL_Widget *pOuter = NULL);\r
18     CFWL_PanelImp(const CFWL_WidgetImpProperties &properties, IFWL_Widget *pOuter = NULL);\r
19     virtual ~CFWL_PanelImp();\r
20     virtual FWL_ERR                     GetClassName(CFX_WideString &wsClass) const;\r
21     virtual FX_DWORD            GetClassID() const;\r
22     virtual FWL_ERR                     GetWidgetRect(CFX_RectF &rect, FX_BOOL bAutoSize = FALSE);\r
23     virtual     FWL_ERR                 Update();\r
24     virtual IFWL_Content*       GetContent();\r
25     virtual FWL_ERR                     SetContent(IFWL_Content *pContent);\r
26 protected:\r
27     IFWL_Content                        *m_pContent;\r
28 };\r
29 #endif\r