--- a/radioapp/radiouiengine/inc/radiostationmodel.h Fri Apr 16 14:58:55 2010 +0300
+++ b/radioapp/radiouiengine/inc/radiostationmodel.h Mon May 03 12:31:41 2010 +0300
@@ -31,8 +31,8 @@
class RadioPresetStorage;
class RadioStationHandlerIf;
class RadioEngineWrapper;
-class RadioUiEngine;
class RadioStation;
+class RadioUiEnginePrivate;
class QIcon;
// Constants
@@ -61,7 +61,7 @@
};
Q_DECLARE_FLAGS( Detail, DetailFlag )
- explicit RadioStationModel( RadioUiEngine& uiEngine );
+ explicit RadioStationModel( RadioUiEnginePrivate& uiEngine );
~RadioStationModel();
@@ -75,9 +75,9 @@
// New functions
/*!
- * Called by the wrapper to initialize the list with given amount of presets
+ * Called by the engine to initialize the list with given amount of presets
*/
- void initialize( RadioPresetStorage* storage, RadioEngineWrapper* engine );
+ void initialize( RadioPresetStorage* storage, RadioEngineWrapper* wrapper );
/*!
* Sets the icons to be used in the lists
@@ -106,6 +106,11 @@
bool findFrequency( uint frequency, RadioStation& station );
/*!
+ * Function to check the number of favorite stations
+ */
+ int favoriteCount();
+
+ /*!
* Functions to find stations by preset index
*/
int findPresetIndex( int presetIndex );