• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef FWL_TARGETIMP_H_
8 #define FWL_TARGETIMP_H_
9 
10 #include "core/include/fxcrt/fx_basic.h"
11 #include "xfa/include/fwl/core/fwl_target.h"
12 
13 class CFWL_TargetImp {
14  public:
15   virtual ~CFWL_TargetImp();
16 
17   virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
18   virtual FX_DWORD GetClassID() const;
19   virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
20   virtual FWL_ERR Initialize();
21   virtual FWL_ERR Finalize();
22 
23  protected:
24   CFWL_TargetImp();
25 };
26 
27 #endif  // FWL_TARGETIMP_H_
28