4 #include "generalsettings.h"
9 class RadioDataConversionState
;
13 CategoryData(const char * name
) {
14 strncpy(this->name
, name
, sizeof(CategoryData::name
));
20 Q_DECLARE_TR_FUNCTIONS(RadioData
)
25 GeneralSettings generalSettings
;
26 std::vector
<CategoryData
> categories
;
27 std::vector
<ModelData
> models
;
29 void convert(RadioDataConversionState
& cstate
);
31 void setCurrentModel(unsigned int index
);
32 void fixModelFilenames();
33 QString
getNextModelFilename();
35 static QString
getElementName(const QString
& prefix
, unsigned int index
, const char * name
= 0, bool padding
= false);
38 void fixModelFilename(unsigned int index
);
41 #endif // _RADIODATA_H_