adds api support for enabling/disabling controls and rules
This commit is contained in:
@@ -391,6 +391,9 @@ extern "C" {
|
||||
int DLLEXPORT ENsetcontrol(int index, int type, int linkIndex,
|
||||
EN_API_FLOAT_TYPE setting, int nodeIndex, EN_API_FLOAT_TYPE level);
|
||||
|
||||
int DLLEXPORT ENgetcontrolenabled(int index, int *out_enabled);
|
||||
|
||||
int DLLEXPORT ENsetcontrolenabled(int index, int enabled);
|
||||
|
||||
/********************************************************************
|
||||
|
||||
@@ -436,6 +439,10 @@ extern "C" {
|
||||
|
||||
int DLLEXPORT ENsetrulepriority(int index, EN_API_FLOAT_TYPE priority);
|
||||
|
||||
int DLLEXPORT ENgetruleenabled(int index, int *out_enabled);
|
||||
|
||||
int DLLEXPORT ENsetruleenabled(int index, int enabled);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user