--- a/upqo/ohproduct_qo.h
+++ b/upqo/ohproduct_qo.h
@@ -55,7 +55,7 @@
enum SourceType{OHPR_SourceUnknown, OHPR_SourcePlaylist, OHPR_SourceRadio,
OHPR_SourceReceiver};
- SourceType srcStringToType(const std::string& stype) {
+ int srcStringToType(const std::string& stype) {
qDebug() << "OHProductQO::getSourceType: " << stype.c_str();
if (!stype.compare("Playlist")) {
return OHPR_SourcePlaylist;
@@ -67,7 +67,7 @@
return OHPR_SourceUnknown;
}
- SourceType getSourceType() {
+ int getSourceType() {
int idx;
std::vector<UPnPClient::OHProduct::Source> srcs;
std::string st;
@@ -90,7 +90,7 @@
}
signals:
- void sourceTypeChanged(OHProductQO::SourceType);
+ void sourceTypeChanged(int);
// This is used internally. Use sourceTypeChanged instead
void _sourceIndexChanged(int);