summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/core/fwl_target.h
blob: 3c8b531f245951337ac6109e87a93357dea59aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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 _FWL_TARGET_H
#define _FWL_TARGET_H
class IFWL_Target;
class IFWL_Target
{
public:
    FX_DWORD		Release();
    IFWL_Target*	Retain();
    FX_DWORD		GetRefCount() const;
    FWL_ERR			GetClassName(CFX_WideString &wsClass) const;
    FX_DWORD		GetClassID() const;
    FX_BOOL			IsInstance(FX_WSTR wsClass) const;
    FWL_ERR			Initialize();
    FWL_ERR			Finalize();
protected:
    virtual ~IFWL_Target();
    FX_LPVOID	m_pData;
};
#endif