/* * Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved. * Description: CallerLogPresenter.h * Author: * Create: 2021-10-12 */ #ifndef CALLER_LOG_PRESENTER_H #define CALLER_LOG_PRESENTER_H #include "Presenter.h" #include "ohos_types.h" #include "CallerLogModel.h" #include "graphic_timer.h" #include "sys/time.h" namespace OHOS { class CallerLogView; class CallerLogPresenter : public Presenter, public UIView::OnClickListener { public: CallerLogPresenter(); ~CallerLogPresenter() override; void OnStop() override; static CallerLogPresenter *GetInstance(void); bool OnClick(UIView &view, const ClickEvent &event) override; void BuletoothHintsCallbackProc(void* data); private: void InitBluetoothHints(); void DisableBluetoothHints(); GraphicTimer* hintsCounting{nullptr}; }; } #endif