OLD | NEW |
| (Empty) |
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 XFA_FWL_CORE_FWL_THREADIMP_H_ | |
8 #define XFA_FWL_CORE_FWL_THREADIMP_H_ | |
9 | |
10 #include "xfa/fwl/core/fwl_noteimp.h" | |
11 #include "xfa/fwl/core/ifwl_thread.h" | |
12 | |
13 class IFWL_NoteDriver; | |
14 class IFWL_NoteThread; | |
15 | |
16 class CFWL_ThreadImp { | |
17 public: | |
18 CFWL_ThreadImp(IFWL_Thread* pIface) | |
19 : m_pNoteDriver(new CFWL_NoteDriver), m_pIface(pIface) {} | |
20 | |
21 virtual ~CFWL_ThreadImp() { delete m_pNoteDriver; } | |
22 | |
23 IFWL_Thread* GetInterface() const { return m_pIface; } | |
24 IFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver; } | |
25 | |
26 protected: | |
27 CFWL_NoteDriver* const m_pNoteDriver; | |
28 | |
29 private: | |
30 IFWL_Thread* const m_pIface; | |
31 }; | |
32 | |
33 #endif // XFA_FWL_CORE_FWL_THREADIMP_H_ | |
OLD | NEW |