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 XFA_SRC_FWL_CORE_FWL_TARGETIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_TARGETIMP_H_ |
8 #define XFA_SRC_FWL_CORE_FWL_TARGETIMP_H_ | 8 #define XFA_FWL_CORE_FWL_TARGETIMP_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
11 #include "xfa/include/fwl/core/fwl_target.h" | 11 #include "xfa/include/fwl/core/fwl_target.h" |
12 | 12 |
13 class CFWL_TargetImp { | 13 class CFWL_TargetImp { |
14 public: | 14 public: |
15 virtual ~CFWL_TargetImp(); | 15 virtual ~CFWL_TargetImp(); |
16 | 16 |
17 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 17 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; |
18 virtual FX_DWORD GetClassID() const; | 18 virtual FX_DWORD GetClassID() const; |
19 virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; | 19 virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; |
20 virtual FWL_ERR Initialize(); | 20 virtual FWL_ERR Initialize(); |
21 virtual FWL_ERR Finalize(); | 21 virtual FWL_ERR Finalize(); |
22 | 22 |
23 protected: | 23 protected: |
24 CFWL_TargetImp(); | 24 CFWL_TargetImp(); |
25 }; | 25 }; |
26 | 26 |
27 #endif // XFA_SRC_FWL_CORE_FWL_TARGETIMP_H_ | 27 #endif // XFA_FWL_CORE_FWL_TARGETIMP_H_ |
OLD | NEW |