--- a/fmradio/fmradio/inc/mchannellisthandler.h Fri Mar 12 15:42:47 2010 +0200
+++ b/fmradio/fmradio/inc/mchannellisthandler.h Mon Mar 15 12:40:34 2010 +0200
@@ -20,6 +20,8 @@
#define MCHANNELLISTHANDLER_H
+#include "fmradiopreset.h"
+
/**
* Operations to main list
* @since 2.6
@@ -34,15 +36,6 @@
ERemoveAllFromRepository
};
-/**
-* Holder for the channel information and channel frequency
-* @since 2.6
-*/
-struct TChannelInformation
- {
- TBuf<32> iChannelInformation;
- TInt iChannelFrequency;
- };
/**
* Interface to update channel list
@@ -60,7 +53,7 @@
virtual void AddChannelToListL( const TDesC& aChannelName, TInt aChannelFreq ) = 0;
- virtual CArrayFixFlat<TChannelInformation>* Channels() = 0;
+ virtual RPointerArray<CFMRadioPreset>& Channels() = 0;
};