summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/core/fwl_app.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-09 11:56:39 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-09 11:56:39 -0800
commitdf685030b73074e46d7eb789e13135c52775091f (patch)
treecfc7c0023d0f4e088876c991a3e37ec50e081285 /xfa/include/fwl/core/fwl_app.h
parent0f05b1c9c19e9f45135bb3dd21044b2e69fe086a (diff)
downloadpdfium-df685030b73074e46d7eb789e13135c52775091f.tar.xz
Re-land "Rename CFWL_Thread classes to ThreadImp"
This reverts commit 5e4f290e939ded90a518ff8eab1db59930655e11. BUG= R=thestig@chromium.org Review URL: https://codereview.chromium.org/1502063005 .
Diffstat (limited to 'xfa/include/fwl/core/fwl_app.h')
-rw-r--r--xfa/include/fwl/core/fwl_app.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/xfa/include/fwl/core/fwl_app.h b/xfa/include/fwl/core/fwl_app.h
index 8959726d43..1817b72cfe 100644
--- a/xfa/include/fwl/core/fwl_app.h
+++ b/xfa/include/fwl/core/fwl_app.h
@@ -12,16 +12,21 @@ class IFWL_Widget;
class IFWL_WidgetMgr;
class IFWL_ThemeProvider;
class IFWL_AdapterWidgetMgr;
-class IFWL_App;
+
class IFWL_App : public IFWL_NoteThread {
public:
static IFWL_App* Create(IFWL_AdapterNative* pAdapter);
- virtual FWL_ERR Initialize() = 0;
- virtual FWL_ERR Finalize() = 0;
- virtual IFWL_AdapterNative* GetAdapterNative() = 0;
- virtual IFWL_WidgetMgr* GetWidgetMgr() = 0;
- virtual FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) = 0;
- virtual FWL_ERR Exit(int32_t iExitCode = 0) = 0;
+
+ FWL_ERR Initialize();
+ FWL_ERR Finalize();
+ IFWL_AdapterNative* GetAdapterNative();
+ IFWL_WidgetMgr* GetWidgetMgr();
+ IFWL_ThemeProvider* GetThemeProvider();
+ FWL_ERR SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
+ FWL_ERR Exit(int32_t iExitCode);
+
+ private:
+ IFWL_App() {}
};
IFWL_App* FWL_GetApp();
void FWL_SetApp(IFWL_App* pApp);