DropPresetInInterval.hpp
1 #pragma once
2 #include <Process/Drop/ProcessDropHandler.hpp>
3 
4 #include <Scenario/Application/Drops/ScenarioDropHandler.hpp>
5 
6 namespace Scenario
7 {
8 namespace Command
9 {
10 class Macro;
11 }
12 
14 {
15  SCORE_CONCRETE("93d1dd9d-5923-4bc2-8c52-cbe0677a3202")
16 
17  bool drop(
18  const score::DocumentContext& ctx, const Scenario::IntervalModel&, QPointF p,
19  const QMimeData& mime) override;
20 
21 public:
22  static void perform(
23  const IntervalModel& interval, const score::DocumentContext& doc,
24  Scenario::Command::Macro& m, const QByteArray& presetData);
25 };
26 
27 }
Definition: CommandAPI.hpp:28
Definition: DropPresetInInterval.hpp:14
Definition: ScenarioDropHandler.hpp:91
Definition: IntervalModel.hpp:50
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: DocumentContext.hpp:18