summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_targetimp.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/fwl_targetimp.h')
-rw-r--r--xfa/fwl/core/fwl_targetimp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/xfa/fwl/core/fwl_targetimp.h b/xfa/fwl/core/fwl_targetimp.h
new file mode 100644
index 0000000000..8aeca79708
--- /dev/null
+++ b/xfa/fwl/core/fwl_targetimp.h
@@ -0,0 +1,27 @@
+// 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
+
+#ifndef XFA_FWL_CORE_FWL_TARGETIMP_H_
+#define XFA_FWL_CORE_FWL_TARGETIMP_H_
+
+#include "core/include/fxcrt/fx_basic.h"
+#include "xfa/include/fwl/core/fwl_target.h"
+
+class CFWL_TargetImp {
+ public:
+ virtual ~CFWL_TargetImp();
+
+ virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
+ virtual FX_DWORD GetClassID() const;
+ virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
+ virtual FWL_ERR Initialize();
+ virtual FWL_ERR Finalize();
+
+ protected:
+ CFWL_TargetImp();
+};
+
+#endif // XFA_FWL_CORE_FWL_TARGETIMP_H_