summaryrefslogtreecommitdiff
path: root/xfa/src/fwl/core/fwl_targetimp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fwl/core/fwl_targetimp.cpp')
-rw-r--r--xfa/src/fwl/core/fwl_targetimp.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/xfa/src/fwl/core/fwl_targetimp.cpp b/xfa/src/fwl/core/fwl_targetimp.cpp
new file mode 100644
index 0000000000..0c8d5fbce0
--- /dev/null
+++ b/xfa/src/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/src/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;
+}