internetradio2.0/presetplugininc/irpreset.h
changeset 8 3b03c28289e6
parent 0 09774dfdd46b
child 12 608f67c22514
--- a/internetradio2.0/presetplugininc/irpreset.h	Thu May 27 12:46:34 2010 +0300
+++ b/internetradio2.0/presetplugininc/irpreset.h	Fri Jun 11 13:30:40 2010 +0300
@@ -23,6 +23,7 @@
 #include <pspresetinterface.h>
 
 class CIRIsdsPreset;
+class CIRChannelServerUrl;
 
 const TUid KIRPreset = { 0x10009DC1 };
 
@@ -295,6 +296,13 @@
 	*/
 	virtual const TDesC& GetAdvertisementUrl() const=0;
 
+    /**
+    *CIRPreset::GetAdvertisementInUse()
+    *gets the channel  advertisement In Use
+    *@return TDesC
+    */
+    virtual const TDesC& GetAdvertisementInUse() const = 0;
+	
 	/**
 	*CIRPreset::GetImgUrl()
 	*gets the channel  image url
@@ -309,6 +317,8 @@
 	*/
 	virtual TInt GetUrlCount()const=0;
 
+	virtual CIRChannelServerUrl& GetUrl(TInt aIndex) const = 0;
+	
 	/*
 	 * get the channel url at specified position
 	 *
@@ -337,20 +347,6 @@
 	*/
 	virtual void CopyPresetData(CIRIsdsPreset& aIsdsPreset) const =0;
 
-	/**
-	*CIRPreset::UniqId()
-	*gets the unique id
-	*@return TUint32
-	*/
-	virtual TUint32 UniqId()=0;
-
-	/**
-	*CIRPreset::SetUniqId()
-	*sets the unique id for the preset
-	*@param aId
-	*/
-	virtual void SetUniqId( const TUint32 aId)=0;
-
 	 /**
      * Sets the logo data for this preset for a specific size.
      *
@@ -376,6 +372,10 @@
      * Set the played times of the channel
      */
     virtual void SetPlayedTimes(TInt aPlayedTimes) = 0;
+    
+    virtual TBool GetRenamed() const = 0;
+    
+    virtual void SetRenamed() = 0;
 	};
 
 #endif	//end of IRPRESET_H