Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: xfa/fwl/core/fwl_targetimp.cpp

Issue 1921853006: More FWL interface cleanup. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/fwl_targetimp.h ('k') | xfa/fwl/core/fwl_threadimp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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/fwl/core/fwl_targetimp.h"
8
9 FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const {
10 return m_pImpl->GetClassName(wsClass);
11 }
12 uint32_t 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.clear();
31 return FWL_ERR_Succeeded;
32 }
33 uint32_t 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 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_targetimp.h ('k') | xfa/fwl/core/fwl_threadimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698