/* * Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved. * Description: MainCallingPresenter.h * Author: * Create: 2021-10-12 */ #ifndef MAIN_CALLING_PRESENTER_H #define MAIN_CALLING_PRESENTER_H #include "Presenter.h" #include "ohos_types.h" #include "CallerLogModel.h" #include "VolumeSettingView.h" #include "VolumeSettingPresenter.h" namespace OHOS { class MainCallingView; class MainCallingPresenter : public Presenter, public UIView::OnClickListener { public: MainCallingPresenter(); ~MainCallingPresenter() override; static MainCallingPresenter *GetInstance(); void HonrsViewChange(); bool CallingViewDisplay(); bool InitPointerValue(); bool OnClick(UIView& view, const ClickEvent& event) override; VolumeSettingView *GetvolumeSetting(); private: int changeImage{0}; bool HintsHandupClick(); VolumeSettingView *volumeSetting{nullptr}; }; } #endif