mcu_hi3321_watch/application/wearable/nativeapp/nativeui/alarm/include/AlarmCloseRingView.h
2025-05-26 20:15:20 +08:00

35 lines
912 B
C++

/*
* Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.
* Description: Alarm
* Author:
* Create: 2021-09-11
*/
#ifndef ALARM_CLOSE_RING_VIEW_H
#define ALARM_CLOSE_RING_VIEW_H
#include "components/ui_label.h"
#include "components/ui_view_group.h"
#include "components/ui_image_view.h"
#include "components/ui_button.h"
#include "components/ui_label_button.h"
#include "UiConfig.h"
#include "AlarmClockModel.h"
#include "ChangeSliceListener.h"
namespace OHOS {
class AlarmCloseRingView {
public:
AlarmCloseRingView();
virtual ~AlarmCloseRingView();
static AlarmCloseRingView *GetInstance(void);
UIViewGroup *InitCloseRingView(void);
void AlarmCloseShowTimer(void);
void CancelCloseHandle(void);
private:
UIViewGroup *group{nullptr};
UIImageView *imageClose{nullptr};
UILabel *label{nullptr};
};
} // namespace OHOS
#endif