Skip to content

Commit f354850

Browse files
committed
Effects: Mark overridden methods accordingly
1 parent 166f693 commit f354850

File tree

14 files changed

+42
-42
lines changed

14 files changed

+42
-42
lines changed

include/effects/Bars.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ namespace openshot
8686
/// @returns The modified openshot::Frame object
8787
/// @param frame The frame object that needs the effect applied to it
8888
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
89-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
89+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
9090

9191
/// Get and Set JSON methods
9292
std::string Json() const override; ///< Generate JSON string of this object
93-
void SetJson(const std::string value); ///< Load JSON string into this object
93+
void SetJson(const std::string value) override; ///< Load JSON string into this object
9494
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
95-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
95+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
9696

9797
/// Get all properties for a specific frame (perfect for a UI to display the current state
9898
/// of all properties at any time)

include/effects/Blur.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ namespace openshot
9898
/// @returns The modified openshot::Frame object
9999
/// @param frame The frame object that needs the effect applied to it
100100
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
101-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
101+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
102102

103103
/// Get and Set JSON methods
104104
std::string Json() const override; ///< Generate JSON string of this object
105-
void SetJson(const std::string value); ///< Load JSON string into this object
105+
void SetJson(const std::string value) override; ///< Load JSON string into this object
106106
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
107-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
107+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
108108

109109
/// Get all properties for a specific frame (perfect for a UI to display the current state
110110
/// of all properties at any time)

include/effects/Brightness.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ namespace openshot
8686
/// @returns The modified openshot::Frame object
8787
/// @param frame The frame object that needs the effect applied to it
8888
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
89-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
89+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
9090

9191
/// Get and Set JSON methods
9292
std::string Json() const override; ///< Generate JSON string of this object
93-
void SetJson(const std::string value); ///< Load JSON string into this object
93+
void SetJson(const std::string value) override; ///< Load JSON string into this object
9494
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
95-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
95+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
9696

9797
/// Get all properties for a specific frame (perfect for a UI to display the current state
9898
/// of all properties at any time)

include/effects/ChromaKey.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ namespace openshot
8383
/// @returns The modified openshot::Frame object
8484
/// @param frame The frame object that needs the effect applied to it
8585
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
86-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
86+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
8787

8888
/// Get and Set JSON methods
8989
std::string Json() const override; ///< Generate JSON string of this object
90-
void SetJson(const std::string value); ///< Load JSON string into this object
90+
void SetJson(const std::string value) override; ///< Load JSON string into this object
9191
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
92-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
92+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
9393

9494
// Get all properties for a specific frame
9595
std::string PropertiesJSON(int64_t requested_frame) const override;

include/effects/ColorShift.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ namespace openshot
9090
/// @returns The modified openshot::Frame object
9191
/// @param frame The frame object that needs the effect applied to it
9292
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
93-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
93+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
9494

9595
/// Get and Set JSON methods
9696
std::string Json() const override; ///< Generate JSON string of this object
97-
void SetJson(const std::string value); ///< Load JSON string into this object
97+
void SetJson(const std::string value) override; ///< Load JSON string into this object
9898
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
99-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
99+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
100100

101101
/// Get all properties for a specific frame (perfect for a UI to display the current state
102102
/// of all properties at any time)

include/effects/Crop.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ namespace openshot
8585
/// @returns The modified openshot::Frame object
8686
/// @param frame The frame object that needs the effect applied to it
8787
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
88-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
88+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
8989

9090
/// Get and Set JSON methods
9191
std::string Json() const override; ///< Generate JSON string of this object
92-
void SetJson(const std::string value); ///< Load JSON string into this object
92+
void SetJson(const std::string value) override; ///< Load JSON string into this object
9393
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
94-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
94+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
9595

9696
/// Get all properties for a specific frame (perfect for a UI to display the current state
9797
/// of all properties at any time)

include/effects/Deinterlace.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ namespace openshot
7979
/// @returns The modified openshot::Frame object
8080
/// @param frame The frame object that needs the effect applied to it
8181
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
82-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
82+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
8383

8484
/// Get and Set JSON methods
8585
std::string Json() const override; ///< Generate JSON string of this object
86-
void SetJson(const std::string value); ///< Load JSON string into this object
86+
void SetJson(const std::string value) override; ///< Load JSON string into this object
8787
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
88-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
88+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
8989

9090
// Get all properties for a specific frame
9191
std::string PropertiesJSON(int64_t requested_frame) const override;

include/effects/Hue.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ namespace openshot
7676
/// @returns The modified openshot::Frame object
7777
/// @param frame The frame object that needs the effect applied to it
7878
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
79-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
79+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
8080

8181
/// Get and Set JSON methods
8282
std::string Json() const override; ///< Generate JSON string of this object
83-
void SetJson(const std::string value); ///< Load JSON string into this object
83+
void SetJson(const std::string value) override; ///< Load JSON string into this object
8484
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
85-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
85+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
8686

8787
/// Get all properties for a specific frame (perfect for a UI to display the current state
8888
/// of all properties at any time)

include/effects/Mask.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ namespace openshot
9898
/// @returns The modified openshot::Frame object
9999
/// @param frame The frame object that needs the effect applied to it
100100
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
101-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
101+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
102102

103103
/// Get and Set JSON methods
104104
std::string Json() const override; ///< Generate JSON string of this object
105-
void SetJson(const std::string value); ///< Load JSON string into this object
105+
void SetJson(const std::string value) override; ///< Load JSON string into this object
106106
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
107-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
107+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
108108

109109
/// Get all properties for a specific frame (perfect for a UI to display the current state
110110
/// of all properties at any time)

include/effects/Negate.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ namespace openshot
6767
/// @returns The modified openshot::Frame object
6868
/// @param frame The frame object that needs the effect applied to it
6969
/// @param frame_number The frame number (starting at 1) of the effect on the timeline.
70-
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
70+
std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number) override;
7171

7272
/// Get and Set JSON methods
7373
std::string Json() const override; ///< Generate JSON string of this object
74-
void SetJson(const std::string value); ///< Load JSON string into this object
74+
void SetJson(const std::string value) override; ///< Load JSON string into this object
7575
Json::Value JsonValue() const override; ///< Generate Json::Value for this object
76-
void SetJsonValue(const Json::Value root); ///< Load Json::Value into this object
76+
void SetJsonValue(const Json::Value root) override; ///< Load Json::Value into this object
7777

7878
// Get all properties for a specific frame
7979
std::string PropertiesJSON(int64_t requested_frame) const override;

0 commit comments

Comments
 (0)