internetradio2.0/uiinc/irplsplaylistitem.h
changeset 3 ee64f059b8e1
parent 2 2e1adbfc62af
child 4 3f2d53f144fe
child 5 0930554dc389
--- a/internetradio2.0/uiinc/irplsplaylistitem.h	Mon May 03 12:25:23 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-/*
-* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Describes a single item in PLS playlist.
-*
-*/
-
-
-#ifndef C_IRPLSPLAYLISTITEM_H
-#define C_IRPLSPLAYLISTITEM_H
-
-#include <e32base.h>
-
-/**
- *  Describes a single item in PLS playlist.
- *  The item consists of File, Title and Length attributes.
- */
-class CIRPlsPlayListItem : public CBase
-    {
-
-public:
-
-    /**
-     * Two-phased constructor.
-     */
-    static CIRPlsPlayListItem* NewL();
-    
-    /**
-     * Two-phased constructor.
-     */
-    static CIRPlsPlayListItem* NewLC();
-
-    /**
-    * Destructor.
-    */
-    ~CIRPlsPlayListItem();
-
-    /**
-     * Sets new File attribute. The old attribute is replaced.
-     *
-     * @param aFile New File attribute.
-     */
-    void SetFileL( const TDesC& aFile );
-    
-    /**
-     * Sets new Title attribute. The old attribute is replaced.
-     *
-     * @param aTitle New Title attribute.
-     */
-    void SetTitleL( const TDesC& aTitle );
-    
-    /**
-     * Sets new Length attribute. The old attribute is replaced.
-     *
-     * @param aLength New Length attribute.
-     */
-    void SetLength( TInt aLength );
-    
-    /**
-     * Gets the File attribute.
-     *
-     * @return The File attribute.
-     */
-    const TDesC& File() const;
-    
-    /**
-     * Gets the Title attribute.
-     *
-     * @return The Title attribute.
-     */
-    const TDesC& Title() const;
-    
-    /**
-     * Gets the Length attribute.
-     *
-     * @return The Length attribute.
-     */
-    TInt Length() const;
-
-private:
-
-    /**
-     * Constructor.
-     */
-    CIRPlsPlayListItem();
-
- 
-private: // data
-
-    /**
-     * "File" of this item.
-     */
-    RBuf iFile;
-    
-    /**
-     * "Title" of this item.
-     */
-    RBuf iTitle;
-    
-    /**
-     * "Length" of this item.
-     */
-    TInt iLength;
-    };
-
-#endif // C_IRPLSPLAYLISTITEM_H