set_desktop 文件夹更新
authorluozheng <1732036298@qq.com>
Tue, 28 May 2024 12:05:07 +0000 (20:05 +0800)
committerluozheng <1732036298@qq.com>
Tue, 28 May 2024 12:05:07 +0000 (20:05 +0800)
code/sdk/application/wearable/fd230app/nativeui/set_desktop/include/SetDesktopModel.h
code/sdk/application/wearable/fd230app/nativeui/set_desktop/include/SetDesktopPresenter.h
code/sdk/application/wearable/fd230app/nativeui/set_desktop/include/SetDesktopView.h
code/sdk/application/wearable/fd230app/nativeui/set_desktop/src/SetDesktopModel.cpp

index 5c5a926..2ef2793 100644 (file)
@@ -30,7 +30,6 @@ namespace OHOS {
         SetDesktopModel(const SetDesktopModel &);
         SetDesktopModel &operator=(const SetDesktopModel &);
         virtual ~SetDesktopModel();
-
     };
 }
 
index e1fe726..165c6d9 100644 (file)
@@ -31,12 +31,12 @@ class SetDesktopPresenter : public Presenter<SetDesktopView>,
                          public UIView::OnDragListener {
 public:
     SetDesktopPresenter();
-    virtual ~SetDesktopPresenter();
+    ~SetDesktopPresenter() override;
     static SetDesktopPresenter *GetInstance();
 
-    virtual void OnStart() override;
-    virtual void OnResume() override;
-    virtual void OnStop() override;
+    void OnStart() override;
+    void OnResume() override;
+    void OnStop() override;
 
     bool OnClick(UIView &view, const ClickEvent &event) override;
     bool OnDrag(UIView& view, const DragEvent& event) override;
index 4c99274..d1827c7 100644 (file)
@@ -24,7 +24,7 @@ class SetDesktopPresenter;
 class SetDesktopView : public View<SetDesktopPresenter> {
 public:
     SetDesktopView();
-    virtual ~SetDesktopView();
+    ~SetDesktopView() override;
 
     static SetDesktopView *GetInstance()
     {
@@ -32,10 +32,10 @@ public:
         return &instance;
     }
 
-    virtual void OnStart() override;
-    virtual void OnSetUpView() override;
-    virtual void OnTearDownView() override;
-    virtual void OnStop() override;
+    void OnStart() override;
+    void OnSetUpView() override;
+    void OnTearDownView() override;
+    void OnStop() override;
     void UpdateSelectedStyle(bool hexagonsSelected);
 private:
     UILabel titleText;
index d5f64f3..43c523e 100644 (file)
@@ -31,7 +31,7 @@ namespace OHOS {
         } else {
             style = APPLIST_STYLE;
         }
-        return style;     
+        return style;
     }
 
     void SetDesktopModel::SetDesktopStyle(DesktopStyle style)