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

46 lines
1.2 KiB
C++

/*
* Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.
* Description: MainCallingView.h
* Author:
* Create: 2021-10-12
*/
#ifndef MAIN_CALLING_VIEW_H
#define MAIN_CALLING_VIEW_H
#include "View.h"
#include "components/ui_view_group.h"
#include "ohos_types.h"
#include "CallerDisplayView.h"
#include "CallingView.h"
#include "DialingScreenView.h"
#include "WaitingHintsView.h"
namespace OHOS {
class MainCallingPresenter;
class MainCallingView : public View<MainCallingPresenter> {
public:
MainCallingView();
~MainCallingView() override;
void OnStart() override;
static MainCallingView *GetInstance();
UIViewGroup *GetDisplayGroup();
UIViewGroup *GetCallingGroup();
UIViewGroup *GetScreenGroup();
UIViewGroup *GetWaitingGroup();
CallingView *GetCallingView();
private:
bool InitPointerValue();
UIViewGroup *displayGroup{nullptr};
UIViewGroup *callingGroup{nullptr};
UIViewGroup *screenGroup{nullptr};
UIViewGroup *waitingGroup{nullptr};
CallerDisplayView *displayView{nullptr};
CallingView *callView{nullptr};
DialingScreenView *screenView{nullptr};
WaitingHintsView *waitingView{nullptr};
};
}
#endif