mcu_hi3321_watch/tjd/ui/app/female_health/TjdUiFemaleHealthPresenter.h
2025-05-26 20:15:20 +08:00

49 lines
1.4 KiB
C++

/*----------------------------------------------------------------------------
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
*
* Description:
*
* Author: huangshuyi
*
* Create: 2024-8
*--------------------------------------------------------------------------*/
#ifndef TJDUI_FEMALE_HEALTH_PRESENTER_H
#define TJDUI_FEMALE_HEALTH_PRESENTER_H
#include <string>
#include "Presenter.h"
#include "components/root_view.h"
//#include "KeyInputListener.h"
#include "drag_event.h"
#include "TjdUiFemaleHealthView.h"
#include "components/ui_swipe_view.h"
#include "components/ui_view.h"
//using namespace std;
namespace TJD {
//namespace OHOS {
class TjdUiFemaleHealthView;
class TjdUiFemaleHealthPresenter : public OHOS::Presenter<TjdUiFemaleHealthView>,
public OHOS::UIView::OnClickListener,
public OHOS::RootView::OnKeyActListener {
public:
TjdUiFemaleHealthPresenter();
virtual ~TjdUiFemaleHealthPresenter();
static TjdUiFemaleHealthPresenter *GetInstance(void);
void OnStart() override;
//void OnPause() override;
//void OnResume() 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:
};
}
#endif // MAIN_PRESENTER_H