equal
deleted
inserted
replaced
76 /* get the url for the specify bitrate |
76 /* get the url for the specify bitrate |
77 * the caller should delete the QList */ |
77 * the caller should delete the QList */ |
78 IMPORT_C QList<QString> * getURLsForBitrate(int aBitrate) const; |
78 IMPORT_C QList<QString> * getURLsForBitrate(int aBitrate) const; |
79 /* the following functions may be changed in future */ |
79 /* the following functions may be changed in future */ |
80 IMPORT_C int getChannelUrlAt(int aIndex, QString& aURL) const; |
80 IMPORT_C int getChannelUrlAt(int aIndex, QString& aURL) const; |
81 IMPORT_C int getChannelBitrate(int aIndex, int &aBitrate) const; |
81 IMPORT_C int getChannelBitrate(unsigned int aIndex, unsigned int &aBitrate) const; |
82 |
82 |
83 /* sort the urlArray with bitrates by ascending. for |
83 /* sort the urlArray with bitrates by ascending. for |
84 * there are not many items, here we use bubble sorting. |
84 * there are not many items, here we use bubble sorting. |
85 */ |
85 */ |
86 IMPORT_C void sortURLArray(); |
86 IMPORT_C void sortURLArray(); |
94 */ |
94 */ |
95 IMPORT_C void clearChannelServerList(); |
95 IMPORT_C void clearChannelServerList(); |
96 |
96 |
97 IMPORT_C int getChannelURLCount() const; |
97 IMPORT_C int getChannelURLCount() const; |
98 |
98 |
99 IMPORT_C bool setUrlBitrate(const int aUrlIndex, const int aBitrate); |
99 IMPORT_C bool setUrlBitrate(const unsigned int aUrlIndex, const unsigned int aBitrate); |
100 |
100 |
101 int uniqID; //unique id generated for the preset saved at favourite |
101 int uniqID; //unique id generated for the preset saved at favourite |
102 |
102 |
103 int type; //0 for user defined 1 for isds type. |
103 int type; //0 for user defined 1 for isds type. |
104 int index;//index in the preset table |
104 int index;//index in the preset table |