30 lines
694 B
C++
30 lines
694 B
C++
#ifndef TJD_UI_APP_LOW_POWER_VIEW_H
|
|
#define TJD_UI_APP_LOW_POWER_VIEW_H
|
|
|
|
#include "TjdUiAppLowPowerPresenter.h"
|
|
#include "TjdUiMultiLanguageExt.h"
|
|
#include "components/ui_image_view.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_scroll_view.h"
|
|
#include "components/tjd_ui_enter_view.h"
|
|
|
|
#define LOW_POWERION_TP_BTN_NUM 16
|
|
|
|
namespace TJD {
|
|
|
|
class TjdUiAppLowPowerView : public TjdUIEnterViewBase
|
|
{
|
|
public:
|
|
TjdUiAppLowPowerView(uint8_t battery, TjdUiAppLowPowerPresenter *presenter);
|
|
~TjdUiAppLowPowerView();
|
|
|
|
private:
|
|
TjdUiAppLowPowerPresenter *presenter_;
|
|
OHOS::UIImageView icon_;
|
|
OHOS::UILabel desc_;
|
|
OHOS::UILabel descTips_;
|
|
};
|
|
|
|
} // namespace TJD
|
|
|
|
#endif |