Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct{
- quint32 devserial;
- QString name;
- } configelement_t;
- typedef struct{
- quint8 type;//type, in case of entry boxes, this will set the validator
- QStringList checkboxes;//names for the checkboxe(s) in case of checkbox option
- QString title;//name displayed for the set of options
- QString* entry;//the entered value - always converted to a string for storage
- } metadata_t;
- //these are the four types of metadata into: text, integer, float, freeform (text), and checkboxes
- enum {META_INVALID=0,META_TEXT,META_INT,META_FLOAT,META_FREE,META_CHECK};
- typedef struct{
- QList<configelement_t> constituent_sensors;
- QList<configelement_t> missing_sensors;
- QList<metadata_t> metadata;
- quint8 nummissing;
- QString name;
- QString path;//this is used to store the default file path (full path) where the data will be stored (if wav file storage is used)
- } configuration_descriptor_t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement