|
Zrythm
a highly automated and intuitive digital audio workstation
|
Undoable actions. More...


Go to the source code of this file.
Data Structures | |
| struct | UndoableAction |
| Base struct to be inherited by implementing undoable actions. More... | |
Enumerations | |
| enum class | UndoableActionType { UA_TRACKLIST_SELECTIONS , UA_CHANNEL_SEND , UA_MIXER_SELECTIONS , UA_ARRANGER_SELECTIONS , UA_MIDI_MAPPING , UA_PORT_CONNECTION , UA_PORT , UA_RANGE , UA_TRANSPORT , UA_CHORD } |
| Type of UndoableAction. More... | |
Functions | |
| NONNULL void | undoable_action_init_loaded (UndoableAction *self) |
| NONNULL void | undoable_action_init (UndoableAction *self, UndoableActionType type) |
| Initializer to be used by implementing actions. | |
| NONNULL bool | undoable_action_needs_pause (UndoableAction *self) |
| Returns whether the action requires pausing the engine. | |
| NONNULL bool | undoable_action_can_contain_clip (UndoableAction *self) |
| Checks whether the action can contain an audio clip. | |
| NONNULL bool | undoable_action_contains_clip (UndoableAction *self, AudioClip *clip) |
| Checks whether the action actually contains or refers to the given audio clip. | |
| NONNULL void | undoable_action_get_plugins (UndoableAction *self, GPtrArray *arr) |
| NONNULL void | undoable_action_set_num_actions (UndoableAction *self, int num_actions) |
| Sets the number of actions for this action. | |
| void | undoable_action_save_or_load_port_connections (UndoableAction *self, bool _do, PortConnectionsManager **before, PortConnectionsManager **after) |
| To be used by actions that save/load port connections. | |
| int | undoable_action_do (UndoableAction *self, GError **error) |
| Performs the action. | |
| int | undoable_action_undo (UndoableAction *self, GError **error) |
| Undoes the action. | |
| void | undoable_action_free (UndoableAction *self) |
| NONNULL char * | undoable_action_to_string (UndoableAction *ua) |
| Stringizes the action to be used in Undo/Redo buttons. | |
Undoable actions.
Definition in file undoable_action.h.