Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / include / fwl / core / fwl_target.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_TARGET_H\r
8 #define _FWL_TARGET_H\r
9 class IFWL_Target;\r
10 class IFWL_Target\r
11 {\r
12 public:\r
13     FX_DWORD            Release();\r
14     IFWL_Target*        Retain();\r
15     FX_DWORD            GetRefCount() const;\r
16     FWL_ERR                     GetClassName(CFX_WideString &wsClass) const;\r
17     FX_DWORD            GetClassID() const;\r
18     FX_BOOL                     IsInstance(FX_WSTR wsClass) const;\r
19     FWL_ERR                     Initialize();\r
20     FWL_ERR                     Finalize();\r
21 protected:\r
22     virtual ~IFWL_Target();\r
23     FX_LPVOID   m_pData;\r
24 };\r
25 #endif\r