4#ifndef __ACTION_PORT_ACTION_H__
5#define __ACTION_PORT_ACTION_H__
71port_action_perform_reset_control (
PortIdentifier * port_id, GError ** error);
74port_action_do (
PortAction * self, GError ** error);
77port_action_undo (
PortAction * self, GError ** error);
WARN_UNUSED_RESULT UndoableAction * port_action_new(PortActionType type, PortIdentifier *port_id, float val, bool is_normalized, GError **error)
Create a new action.
WARN_UNUSED_RESULT UndoableAction * port_action_new_reset_control(PortIdentifier *port_id, GError **error)
Create a new action.
@ PORT_ACTION_SET_CONTROL_VAL
Set control port value.
float val
Real (not normalized) value before/after the change.
Struct used to identify Ports in the project.
Base struct to be inherited by implementing undoable actions.