1
// ------------------------------------------------------------------------
2
// eca-chainsetup-edit.h: Chainsetup edit object
3
// Copyright (C) 2009 Kai Vehmanen
6
// eca-style-version: 3
8
// This program is free software; you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation; either version 2 of the License, or
11
// (at your option) any later version.
13
// This program is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
18
// You should have received a copy of the GNU General Public License
19
// along with this program; if not, write to the Free Software
20
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
// ------------------------------------------------------------------------
23
#ifndef INCLUDED_ECA_CHAINSETUP_EDIT_H
24
#define INCLUDED_ECA_CHAINSETUP_EDIT_H
30
enum Chainsetup_edit_type {
38
struct chainsetup_edit {
40
Chainsetup_edit_type type;
41
const ECA_CHAINSETUP *cs_ptr;
43
/* FIXME: should a version tag be added as way to invalidate
44
* edit objects in case chainsetup is modified */
48
int chain; /**< @see ECA_CHAINSETUP::get_chain_index() */
53
int chain; /**< @see ECA_CHAINSETUP::get_chain_index() */
58
int chain; /**< @see ECA_CHAINSETUP::get_chain_index() */
59
int op; /**< @see CHAIN::set_parameter() */
60
int param; /**< @see CHAIN::set_parameter() */
61
double value; /**< @see CHAIN::set_parameter() */
65
int chain; /**< @see ECA_CHAINSETUP::get_chain_index() */
66
int op; /**< @see CHAIN::set_controller_parameter() */
67
int param; /**< @see CHAIN::set_controller_parameter() */
68
double value; /**< @see CHAIN::set_controller_parameter() */
73
typedef struct chainsetup_edit chainsetup_edit_t;
76
#endif /* INCLUDED_ECA_CHAINSETUP_EDIT_H */