summaryrefslogtreecommitdiff
path: root/xfa/include/fwl
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/include/fwl')
-rw-r--r--xfa/include/fwl/core/fwl_target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xfa/include/fwl/core/fwl_target.h b/xfa/include/fwl/core/fwl_target.h
index 25c8a33c90..363ce30562 100644
--- a/xfa/include/fwl/core/fwl_target.h
+++ b/xfa/include/fwl/core/fwl_target.h
@@ -28,6 +28,8 @@ class CFWL_TargetImp;
class IFWL_Target {
public:
+ IFWL_Target() : m_pImpl(nullptr) {}
+
FX_DWORD Release();
IFWL_Target* Retain();
FX_DWORD GetRefCount() const;
@@ -37,6 +39,9 @@ class IFWL_Target {
FWL_ERR Initialize();
FWL_ERR Finalize();
+ CFWL_TargetImp* GetImpl() const { return m_pImpl; }
+ void SetImpl(CFWL_TargetImp* pImpl) { m_pImpl = pImpl; }
+
protected:
virtual ~IFWL_Target();
CFWL_TargetImp* m_pImpl;