Merge to XFA: Use stdint.h types throughout PDFium.
[pdfium.git] / xfa / src / fwl / src / basewidget / include / fwl_formproxyimp.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_FORMPROXY_IMP_H\r
8 #define _FWL_FORMPROXY_IMP_H\r
9 class CFWL_WidgetImp;\r
10 class CFWL_WidgetImpProperties;\r
11 class CFWL_WidgetImpDelegate;\r
12 class CFWL_FormImp;\r
13 class CFWL_FormProxyImp;\r
14 class CFWL_FormProxyImpDelegate;\r
15 class CFWL_FormProxyImp : public CFWL_FormImp\r
16 {\r
17 public:\r
18     CFWL_FormProxyImp(IFWL_Widget *pOuter);\r
19     CFWL_FormProxyImp(const CFWL_WidgetImpProperties &properties, IFWL_Widget *pOuter);\r
20     ~CFWL_FormProxyImp();\r
21     virtual FWL_ERR             GetClassName(CFX_WideString &wsClass) const;\r
22     virtual FX_DWORD    GetClassID() const;\r
23     virtual FX_BOOL             IsInstance(FX_WSTR wsClass) const;\r
24     virtual FWL_ERR             Initialize();\r
25     virtual FWL_ERR             Finalize();\r
26     virtual     FWL_ERR         Update();\r
27     virtual FWL_ERR             DrawWidget(CFX_Graphics *pGraphics, const CFX_Matrix *pMatrix = NULL);\r
28 protected:\r
29     friend class CFWL_FormProxyImpDelegate;\r
30 };\r
31 class CFWL_FormProxyImpDelegate : public CFWL_WidgetImpDelegate\r
32 {\r
33 public:\r
34     CFWL_FormProxyImpDelegate(CFWL_FormProxyImp *pOwner);\r
35     virtual int32_t     OnProcessMessage(CFWL_Message *pMessage);\r
36 protected:\r
37     CFWL_FormProxyImp   *m_pOwner;\r
38 };\r
39 #endif\r