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

Side by Side Diff: xfa/include/fwl/core/fwl_target.h

Issue 1453473002: FWL refcounts never incremented (part 2). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FWL_TARGET_H 7 #ifndef _FWL_TARGET_H
8 #define _FWL_TARGET_H 8 #define _FWL_TARGET_H
9 class IFWL_Target;
10 class IFWL_Target { 9 class IFWL_Target {
11 public: 10 public:
12 FX_DWORD Release(); 11 FX_DWORD Release();
13 IFWL_Target* Retain();
14 FX_DWORD GetRefCount() const; 12 FX_DWORD GetRefCount() const;
15 FWL_ERR GetClassName(CFX_WideString& wsClass) const; 13 FWL_ERR GetClassName(CFX_WideString& wsClass) const;
16 FX_DWORD GetClassID() const; 14 FX_DWORD GetClassID() const;
17 FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; 15 FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
18 FWL_ERR Initialize(); 16 FWL_ERR Initialize();
19 FWL_ERR Finalize(); 17 FWL_ERR Finalize();
20 18
21 protected: 19 protected:
22 virtual ~IFWL_Target(); 20 virtual ~IFWL_Target();
23 void* m_pData; 21 void* m_pData;
24 }; 22 };
25 #endif 23 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698