mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-19 17:08:11 -04:00
fix accessibility compile bug
Signed-off-by: xiaojianfeng <xiaojianfeng3@huawei.com> Change-Id: I725577ea065a39192b3cdf05f12c34d9651e095b
This commit is contained in:
committed by
xiaojianfeng
parent
0145973871
commit
3128155c4e
@@ -39,6 +39,10 @@ Display::Display(const std::string& name, sptr<DisplayInfo> info)
|
||||
{
|
||||
}
|
||||
|
||||
Display::~Display()
|
||||
{
|
||||
}
|
||||
|
||||
DisplayId Display::GetId() const
|
||||
{
|
||||
return pImpl_->GetDisplayInfo()->GetDisplayId();
|
||||
|
||||
@@ -29,7 +29,7 @@ typedef enum DisplayType {
|
||||
class Display : public RefBase {
|
||||
friend class DisplayManagerAdapter;
|
||||
public:
|
||||
~Display() = default;
|
||||
~Display();
|
||||
Display(const Display&) = delete;
|
||||
Display(Display&&) = delete;
|
||||
Display& operator=(const Display&) = delete;
|
||||
@@ -40,8 +40,10 @@ public:
|
||||
uint32_t GetFreshRate() const;
|
||||
ScreenId GetScreenId() const;
|
||||
float GetVirtualPixelRatio() const;
|
||||
private:
|
||||
|
||||
protected:
|
||||
Display(const std::string& name, sptr<DisplayInfo> info);
|
||||
private:
|
||||
void UpdateDisplayInfo(sptr<DisplayInfo>);
|
||||
class Impl;
|
||||
sptr<Impl> pImpl_;
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
DEFINE_VAR_DEFAULT_FUNC_GET(float, XDpi, xDpi, 0.0f);
|
||||
DEFINE_VAR_DEFAULT_FUNC_GET(float, YDpi, yDpi, 0.0f);
|
||||
DEFINE_VAR_DEFAULT_FUNC_GET(Rotation, Rotation, rotation, Rotation::ROTATION_0);
|
||||
private:
|
||||
protected:
|
||||
DisplayInfo() = default;
|
||||
};
|
||||
} // namespace OHOS::Rosen
|
||||
|
||||
Reference in New Issue
Block a user