OLD | NEW |
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_THREAD_H_ | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_THREAD_H_ |
8 #define FWL_THREAD_H_ | 8 #define XFA_INCLUDE_FWL_CORE_FWL_THREAD_H_ |
9 | 9 |
10 // The FWL thread/app code contains three parallel inheritance hierarchies, | 10 // The FWL thread/app code contains three parallel inheritance hierarchies, |
11 // which reference each other via pointers as follows: | 11 // which reference each other via pointers as follows: |
12 // | 12 // |
13 // m_pImpl | 13 // m_pImpl |
14 // (nonesuch) IFWL_Thread ----------> CFWL_ThreadImp | 14 // (nonesuch) IFWL_Thread ----------> CFWL_ThreadImp |
15 // | <---------- | | 15 // | <---------- | |
16 // A m_pIface A | 16 // A m_pIface A |
17 // | | | 17 // | | |
18 // (nonesuch) IFWL_NoteThread CFWL_NoteThreadImp | 18 // (nonesuch) IFWL_NoteThread CFWL_NoteThreadImp |
(...skipping 22 matching lines...) Expand all Loading... |
41 | 41 |
42 private: | 42 private: |
43 CFWL_ThreadImp* m_pImpl; | 43 CFWL_ThreadImp* m_pImpl; |
44 }; | 44 }; |
45 | 45 |
46 class IFWL_NoteThread : public IFWL_Thread { | 46 class IFWL_NoteThread : public IFWL_Thread { |
47 public: | 47 public: |
48 IFWL_NoteDriver* GetNoteDriver(); | 48 IFWL_NoteDriver* GetNoteDriver(); |
49 }; | 49 }; |
50 | 50 |
51 #endif // FWL_THREAD_H_ | 51 #endif // XFA_INCLUDE_FWL_CORE_FWL_THREAD_H_ |
OLD | NEW |