2018-08-21 10:02:40 -03:00
|
|
|
#include "UserParameters.h"
|
2023-11-16 06:49:58 -04:00
|
|
|
#include "config.h"
|
2018-08-21 10:02:40 -03:00
|
|
|
|
2023-11-16 06:49:58 -04:00
|
|
|
#if USER_PARAMS_ENABLED == ENABLED
|
2022-12-23 02:12:26 -04:00
|
|
|
// "USR" + 13 chars remaining for param name
|
2018-08-21 10:02:40 -03:00
|
|
|
const AP_Param::GroupInfo UserParameters::var_info[] = {
|
2022-12-23 02:12:26 -04:00
|
|
|
|
2018-08-21 10:02:40 -03:00
|
|
|
// Put your parameters definition here
|
|
|
|
// Note the maximum length of parameter name is 13 chars
|
|
|
|
AP_GROUPINFO("_INT8", 0, UserParameters, _int8, 0),
|
|
|
|
AP_GROUPINFO("_INT16", 1, UserParameters, _int16, 0),
|
|
|
|
AP_GROUPINFO("_FLOAT", 2, UserParameters, _float, 0),
|
2022-12-23 02:12:26 -04:00
|
|
|
|
2018-08-21 10:02:40 -03:00
|
|
|
AP_GROUPEND
|
|
|
|
};
|
2022-12-23 02:12:26 -04:00
|
|
|
|
|
|
|
UserParameters::UserParameters()
|
|
|
|
{
|
|
|
|
AP_Param::setup_object_defaults(this, var_info);
|
|
|
|
}
|
2023-11-16 06:49:58 -04:00
|
|
|
#endif // USER_PARAMS_ENABLED
|