plugins/score-plugin-media/Media/Merger/commands.hpp
1 #pragma once
2 #include <Media/Commands/MediaCommandFactory.hpp>
3 #include <Media/Merger/Model.hpp>
4 
5 #include <score/command/Command.hpp>
6 #include <score/command/PropertyCommand.hpp>
7 #include <score/model/path/Path.hpp>
8 #include <score/model/path/PathSerialization.hpp>
9 
10 namespace Media
11 {
13 {
14  SCORE_COMMAND_DECL(Media::CommandFactoryName(), SetMergeInCount, "Set in count")
15 public:
16  SetMergeInCount(const Merger::Model& path, std::size_t newval)
17  : score::PropertyCommand{std::move(path), "inCount", QVariant::fromValue(newval)}
18  {
19  }
20 };
21 }
Definition: score-plugin-media/Media/Merger/Model.hpp:17
Definition: plugins/score-plugin-media/Media/Merger/commands.hpp:13
The PropertyCommand class.
Definition: PropertyCommand.hpp:21