OLD | NEW |
| (Empty) |
1 // Copyright 2014 PDFium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #include "xfa/src/fwl/core/fwl_targetimp.h" | |
8 | |
9 FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const { | |
10 return m_pImpl->GetClassName(wsClass); | |
11 } | |
12 FX_DWORD IFWL_Target::GetClassID() const { | |
13 return m_pImpl->GetClassID(); | |
14 } | |
15 FX_BOOL IFWL_Target::IsInstance(const CFX_WideStringC& wsClass) const { | |
16 return m_pImpl->IsInstance(wsClass); | |
17 } | |
18 FWL_ERR IFWL_Target::Initialize() { | |
19 return m_pImpl->Initialize(); | |
20 } | |
21 FWL_ERR IFWL_Target::Finalize() { | |
22 return m_pImpl->Finalize(); | |
23 } | |
24 IFWL_Target::~IFWL_Target() { | |
25 delete m_pImpl; | |
26 } | |
27 CFWL_TargetImp::CFWL_TargetImp() {} | |
28 CFWL_TargetImp::~CFWL_TargetImp() {} | |
29 FWL_ERR CFWL_TargetImp::GetClassName(CFX_WideString& wsClass) const { | |
30 wsClass.Empty(); | |
31 return FWL_ERR_Succeeded; | |
32 } | |
33 FX_DWORD CFWL_TargetImp::GetClassID() const { | |
34 return 0; | |
35 } | |
36 FX_BOOL CFWL_TargetImp::IsInstance(const CFX_WideStringC& wsClass) const { | |
37 return FALSE; | |
38 } | |
39 FWL_ERR CFWL_TargetImp::Initialize() { | |
40 return FWL_ERR_Succeeded; | |
41 } | |
42 FWL_ERR CFWL_TargetImp::Finalize() { | |
43 return FWL_ERR_Succeeded; | |
44 } | |
OLD | NEW |