17class DeleteTracksCommand :
public QUndoCommand
20 static constexpr auto CommandId = 1776134295;
24 std::vector<structure::tracks::TrackUuidReference> track_refs);
26 void undo ()
override;
27 void redo ()
override;
28 int id ()
const override {
return CommandId; }
33 structure::tracks::TrackUuidReference ref;
34 int original_position;
35 std::optional<structure::tracks::Track::Uuid> original_folder_parent;
36 bool original_expanded_state;
41 std::vector<TrackInfo> tracks_;
42 std::unordered_set<structure::tracks::Track::Uuid> deleted_uuids_;