Loading...
Searching...
No Matches
RelocateFile.hpp
1#pragma once
2#include <Process/Commands/ProcessCommandFactory.hpp>
3
4#include <score/command/AggregateCommand.hpp>
5#include <score/command/PropertyCommand.hpp>
6#include <score/model/path/PathSerialization.hpp>
7
8namespace Process
9{
17class SCORE_LIB_PROCESS_EXPORT RelocateFilePath final : public score::PropertyCommand
18{
19 SCORE_COMMAND_DECL(Process::CommandFactoryName(), RelocateFilePath, "Relocate a file")
20public:
21 using score::PropertyCommand::PropertyCommand;
22};
23
29class SCORE_LIB_PROCESS_EXPORT ConsolidateProjectFiles final
31{
32 SCORE_COMMAND_DECL(
33 Process::CommandFactoryName(), ConsolidateProjectFiles, "Consolidate project files")
34};
35
36class SCORE_LIB_PROCESS_EXPORT ReanchorProjectFiles final : public score::AggregateCommand
37{
38 // No hyphen in the description: score_generate_command_list_file scans for
39 // these with a regex whose character class has no '-', so "Re-anchor" would
40 // make the whole declaration invisible and the command unregistered.
41 SCORE_COMMAND_DECL(
42 Process::CommandFactoryName(), ReanchorProjectFiles, "Reanchor project files")
43};
44
45class SCORE_LIB_PROCESS_EXPORT RelinkProjectFiles final : public score::AggregateCommand
46{
47 SCORE_COMMAND_DECL(
48 Process::CommandFactoryName(), RelinkProjectFiles, "Relink missing files")
49};
50
51class SCORE_LIB_PROCESS_EXPORT TrimProjectMedia final : public score::AggregateCommand
52{
53 SCORE_COMMAND_DECL(Process::CommandFactoryName(), TrimProjectMedia, "Trim media")
54};
55}
Definition RelocateFile.hpp:31
Definition RelocateFile.hpp:37
Points a QString path property at another file.
Definition RelocateFile.hpp:18
Definition RelocateFile.hpp:52
Allows for grouping of multiple commands in a single one.
Definition AggregateCommand.hpp:15
The PropertyCommand class.
Definition PropertyCommand.hpp:21
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1115