* Creates info for a boolean option. * @param id String ID used in serializing. * @param option Pointer to the option. * @param def Default option value. * @param desc Language ID for the option description (if any). * @param cat Language ID for the option category (if any). */
| 31 | * @param cat Language ID for the option category (if any). |
| 32 | */ |
| 33 | OptionInfo::OptionInfo(const std::string &id, bool *option, bool def, const std::string &desc, const std::string &cat) : _id(id), _desc(desc), _cat(cat), _type(OPTION_BOOL) |
| 34 | { |
| 35 | _ref.b = option; |
| 36 | _def.b = def; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Creates info for an integer option. |
nothing calls this directly
no outgoing calls
no test coverage detected