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 XFA_FWL_CORE_CFWL_APP_H_ | 7 #ifndef XFA_FWL_CFWL_APP_H_ |
8 #define XFA_FWL_CORE_CFWL_APP_H_ | 8 #define XFA_FWL_CFWL_APP_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxcrt/fx_string.h" | 12 #include "core/fxcrt/fx_string.h" |
13 | 13 |
14 class CFWL_NoteDriver; | 14 class CFWL_NoteDriver; |
15 class CFWL_WidgetMgr; | 15 class CFWL_WidgetMgr; |
16 class CXFA_FFApp; | 16 class CXFA_FFApp; |
17 class CXFA_FWLAdapterWidgetMgr; | 17 class CXFA_FWLAdapterWidgetMgr; |
18 class CFWL_Widget; | 18 class CFWL_Widget; |
(...skipping 16 matching lines...) Expand all Loading... |
35 CXFA_FFApp* GetAdapterNative() const { return m_pAdapterNative; } | 35 CXFA_FFApp* GetAdapterNative() const { return m_pAdapterNative; } |
36 CFWL_WidgetMgr* GetWidgetMgr() const { return m_pWidgetMgr.get(); } | 36 CFWL_WidgetMgr* GetWidgetMgr() const { return m_pWidgetMgr.get(); } |
37 CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver.get(); } | 37 CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver.get(); } |
38 | 38 |
39 private: | 39 private: |
40 CXFA_FFApp* const m_pAdapterNative; | 40 CXFA_FFApp* const m_pAdapterNative; |
41 std::unique_ptr<CFWL_WidgetMgr> m_pWidgetMgr; | 41 std::unique_ptr<CFWL_WidgetMgr> m_pWidgetMgr; |
42 std::unique_ptr<CFWL_NoteDriver> m_pNoteDriver; | 42 std::unique_ptr<CFWL_NoteDriver> m_pNoteDriver; |
43 }; | 43 }; |
44 | 44 |
45 #endif // XFA_FWL_CORE_CFWL_APP_H_ | 45 #endif // XFA_FWL_CFWL_APP_H_ |
OLD | NEW |