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

30 lines
690 B
C++

#ifndef TJDUI_OPENLOGO_PRESENTER
#define TJDUI_OPENLOGO_PRESENTER
#include "Presenter.h"
#include "components/root_view.h"
#include "ui_image_animator.h"
#include "ui_view.h"
#define IMAGE_NUM 9
namespace TJD {
class TjdUiOpenLogoView;
class TjdUiOpenLogoPresenter : public OHOS::Presenter<TjdUiOpenLogoView>
{
public:
TjdUiOpenLogoPresenter();
~TjdUiOpenLogoPresenter();
static TjdUiOpenLogoPresenter *GetInstance();
void OnStart() override {}
void OnStop() override {}
OHOS::ImageAnimatorInfo *GetAnimatorInfo() { return imgInfo_; }
private:
OHOS::ImageAnimatorInfo imgInfo_[IMAGE_NUM]{nullptr};
};
} // namespace TJD
#endif