/*---------------------------------------------------------------------------- * Copyright (c) TJD Technologies Co., Ltd. 2025. All rights reserved. * * Description: TjdUiAppDockPresenter.h * * Author: luziquan@ss-tjd.com * * Create: 2024-06-15 *--------------------------------------------------------------------------*/ #ifndef TJD_UI_APP_DOCK_PRESENTER_H #define TJD_UI_APP_DOCK_PRESENTER_H #include "Presenter.h" #include "TjdUiScreenDrag.h" #include "components/root_view.h" #include "components/ui_list.h" #include "components/ui_slipflow_view.h" #include "components/ui_view.h" namespace TJD { class TjdUiAppDockView; class TjdUiAppDockPresenter : public OHOS::Presenter, public TjdUiScreenDragListener, public OHOS::RootView::OnKeyActListener, public OHOS::UIView::OnClickListener { public: TjdUiAppDockPresenter(); virtual ~TjdUiAppDockPresenter(); static TjdUiAppDockPresenter *GetInstance(void); void OnStart() override; void OnStop() override; bool OnClick(OHOS::UIView &view, const OHOS::ClickEvent &event) override; bool OnKeyAct(OHOS::UIView &view, const OHOS::KeyEvent &event) override; private: bool isExit_{true}; }; } // namespace TJD #endif