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_TARGET_H | 7 #ifndef _FWL_TARGET_H |
8 #define _FWL_TARGET_H | 8 #define _FWL_TARGET_H |
9 class IFWL_Target; | |
10 class IFWL_Target { | 9 class IFWL_Target { |
11 public: | 10 public: |
12 FX_DWORD Release(); | 11 FX_DWORD Release(); |
13 IFWL_Target* Retain(); | |
14 FX_DWORD GetRefCount() const; | 12 FX_DWORD GetRefCount() const; |
15 FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 13 FWL_ERR GetClassName(CFX_WideString& wsClass) const; |
16 FX_DWORD GetClassID() const; | 14 FX_DWORD GetClassID() const; |
17 FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; | 15 FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; |
18 FWL_ERR Initialize(); | 16 FWL_ERR Initialize(); |
19 FWL_ERR Finalize(); | 17 FWL_ERR Finalize(); |
20 | 18 |
21 protected: | 19 protected: |
22 virtual ~IFWL_Target(); | 20 virtual ~IFWL_Target(); |
23 void* m_pData; | 21 void* m_pData; |
24 }; | 22 }; |
25 #endif | 23 #endif |
OLD | NEW |