2024-01-13 15:14:33 +00:00
|
|
|
#ifndef cwFlowDecl_h
|
|
|
|
#define cwFlowDecl_h
|
|
|
|
|
|
|
|
namespace cw
|
|
|
|
{
|
|
|
|
namespace flow
|
|
|
|
{
|
2024-02-18 13:41:19 +00:00
|
|
|
enum {
|
2024-05-04 14:27:51 +00:00
|
|
|
kPriPresetProbFl = 0x01,
|
|
|
|
kSecPresetProbFl = 0x02,
|
|
|
|
kInterpPresetFl = 0x04,
|
|
|
|
kAllowAllPresetFl = 0x08,
|
|
|
|
kDryPriorityPresetFl = 0x10
|
2024-02-18 13:41:19 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 15:14:33 +00:00
|
|
|
typedef struct preset_order_str
|
|
|
|
{
|
|
|
|
const char* preset_label;
|
2024-02-18 13:41:19 +00:00
|
|
|
unsigned order;
|
2024-01-13 15:14:33 +00:00
|
|
|
} preset_order_t;
|
|
|
|
|
|
|
|
typedef struct multi_preset_selector_str
|
|
|
|
{
|
2024-02-18 13:41:19 +00:00
|
|
|
unsigned flags;
|
2024-01-13 15:14:33 +00:00
|
|
|
const double* coeffV;
|
2024-02-08 16:17:26 +00:00
|
|
|
const double* coeffMinV;
|
|
|
|
const double* coeffMaxV;
|
2024-01-13 15:14:33 +00:00
|
|
|
unsigned coeffN;
|
2024-02-08 16:17:26 +00:00
|
|
|
|
2024-01-13 15:14:33 +00:00
|
|
|
const preset_order_t* presetA;
|
|
|
|
unsigned presetN;
|
|
|
|
} multi_preset_selector_t;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|