From 1770c021cf998ff1b33855b1397f6ea8ff9f7cd7 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 14 Mar 2016 14:14:16 -0400 Subject: Move xfa/src up to xfa/. This CL moves the xfa/src files up to the xfa/ directory and fixes the includes, include guards, and build files. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1803723002 . --- xfa/fwl/core/fwl_targetimp.cpp | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 xfa/fwl/core/fwl_targetimp.cpp (limited to 'xfa/fwl/core/fwl_targetimp.cpp') diff --git a/xfa/fwl/core/fwl_targetimp.cpp b/xfa/fwl/core/fwl_targetimp.cpp new file mode 100644 index 0000000000..d1f92d0307 --- /dev/null +++ b/xfa/fwl/core/fwl_targetimp.cpp @@ -0,0 +1,44 @@ +// Copyright 2014 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#include "xfa/fwl/core/fwl_targetimp.h" + +FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const { + return m_pImpl->GetClassName(wsClass); +} +FX_DWORD IFWL_Target::GetClassID() const { + return m_pImpl->GetClassID(); +} +FX_BOOL IFWL_Target::IsInstance(const CFX_WideStringC& wsClass) const { + return m_pImpl->IsInstance(wsClass); +} +FWL_ERR IFWL_Target::Initialize() { + return m_pImpl->Initialize(); +} +FWL_ERR IFWL_Target::Finalize() { + return m_pImpl->Finalize(); +} +IFWL_Target::~IFWL_Target() { + delete m_pImpl; +} +CFWL_TargetImp::CFWL_TargetImp() {} +CFWL_TargetImp::~CFWL_TargetImp() {} +FWL_ERR CFWL_TargetImp::GetClassName(CFX_WideString& wsClass) const { + wsClass.Empty(); + return FWL_ERR_Succeeded; +} +FX_DWORD CFWL_TargetImp::GetClassID() const { + return 0; +} +FX_BOOL CFWL_TargetImp::IsInstance(const CFX_WideStringC& wsClass) const { + return FALSE; +} +FWL_ERR CFWL_TargetImp::Initialize() { + return FWL_ERR_Succeeded; +} +FWL_ERR CFWL_TargetImp::Finalize() { + return FWL_ERR_Succeeded; +} -- cgit v1.2.3