| 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 #include "xfa/src/fwl/src/core/fwl_targetimp.h" | 7 #include "xfa/src/fwl/core/fwl_targetimp.h" |
| 8 | 8 |
| 9 FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const { | 9 FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const { |
| 10 return m_pImpl->GetClassName(wsClass); | 10 return m_pImpl->GetClassName(wsClass); |
| 11 } | 11 } |
| 12 FX_DWORD IFWL_Target::GetClassID() const { | 12 FX_DWORD IFWL_Target::GetClassID() const { |
| 13 return m_pImpl->GetClassID(); | 13 return m_pImpl->GetClassID(); |
| 14 } | 14 } |
| 15 FX_BOOL IFWL_Target::IsInstance(const CFX_WideStringC& wsClass) const { | 15 FX_BOOL IFWL_Target::IsInstance(const CFX_WideStringC& wsClass) const { |
| 16 return m_pImpl->IsInstance(wsClass); | 16 return m_pImpl->IsInstance(wsClass); |
| 17 } | 17 } |
| 18 FWL_ERR IFWL_Target::Initialize() { | 18 FWL_ERR IFWL_Target::Initialize() { |
| 19 return m_pImpl->Initialize(); | 19 return m_pImpl->Initialize(); |
| 20 } | 20 } |
| 21 FWL_ERR IFWL_Target::Finalize() { | 21 FWL_ERR IFWL_Target::Finalize() { |
| 22 return m_pImpl->Finalize(); | 22 return m_pImpl->Finalize(); |
| 23 } | 23 } |
| 24 IFWL_Target::~IFWL_Target() { | 24 IFWL_Target::~IFWL_Target() { |
| 25 delete m_pImpl; | 25 delete m_pImpl; |
| 26 } | 26 } |
| 27 CFWL_TargetImp::CFWL_TargetImp() {} | 27 CFWL_TargetImp::CFWL_TargetImp() {} |
| 28 CFWL_TargetImp::~CFWL_TargetImp() { | 28 CFWL_TargetImp::~CFWL_TargetImp() {} |
| 29 } | |
| 30 FWL_ERR CFWL_TargetImp::GetClassName(CFX_WideString& wsClass) const { | 29 FWL_ERR CFWL_TargetImp::GetClassName(CFX_WideString& wsClass) const { |
| 31 wsClass.Empty(); | 30 wsClass.Empty(); |
| 32 return FWL_ERR_Succeeded; | 31 return FWL_ERR_Succeeded; |
| 33 } | 32 } |
| 34 FX_DWORD CFWL_TargetImp::GetClassID() const { | 33 FX_DWORD CFWL_TargetImp::GetClassID() const { |
| 35 return 0; | 34 return 0; |
| 36 } | 35 } |
| 37 FX_BOOL CFWL_TargetImp::IsInstance(const CFX_WideStringC& wsClass) const { | 36 FX_BOOL CFWL_TargetImp::IsInstance(const CFX_WideStringC& wsClass) const { |
| 38 return FALSE; | 37 return FALSE; |
| 39 } | 38 } |
| 40 FWL_ERR CFWL_TargetImp::Initialize() { | 39 FWL_ERR CFWL_TargetImp::Initialize() { |
| 41 return FWL_ERR_Succeeded; | 40 return FWL_ERR_Succeeded; |
| 42 } | 41 } |
| 43 FWL_ERR CFWL_TargetImp::Finalize() { | 42 FWL_ERR CFWL_TargetImp::Finalize() { |
| 44 return FWL_ERR_Succeeded; | 43 return FWL_ERR_Succeeded; |
| 45 } | 44 } |
| OLD | NEW |