diff -r 608f67c22514 -r 896e9dbc5f19 internetradio2.0/datastructuresinc/irlastplayedsongs.h --- a/internetradio2.0/datastructuresinc/irlastplayedsongs.h Tue Jul 06 14:07:20 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,125 +0,0 @@ -/* -* Copyright (c) 2006-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: ?Description -* -*/ - - -#ifndef IRLASTPLAYEDSONGS_H -#define IRLASTPLAYEDSONGS_H - -#include - -class RReadStream; -class RWriteStream; - -class CIRLastPlayedSongs:public CBase - { - public: - - - /** - *Function : NewL - *Function returns an instance of CIRLastPlayedSongs - *Two phase constructor - *@return instance of CIRLastPlayedSongs - */ - IMPORT_C static CIRLastPlayedSongs* NewL(); - - - /** - *CIRLastPlayedSongs::NewLC() - *Static function - *standard two phased constructor - *@return *CIRLastPlayedSongs - */ - IMPORT_C static CIRLastPlayedSongs* NewLC(); - - - /** - *CIRLastPlayedSongs::~CIRLastPlayedSongs() - *standard C++ destructor - */ - ~CIRLastPlayedSongs(); - - - /** - *CIRLastPlayedSongs::SetSongName() - *Function to set song name from a TDesC - *@param TDesC - */ - IMPORT_C void SetSongName(const TDesC&aSongName); - - - /** - *CIRLastPlayedSongs::GetSongName() - *Function to get song name from a TDesC - *@return TDesc instance - */ - IMPORT_C TDesC& GetSongName(); - - - /** - *CIRLastPlayedSongs::SetArtistName() - *Function to set artist name from a TDesC - *@param TDesc - */ - IMPORT_C void SetArtistName(const TDesC& aArtistName); - - - /** - *CIRLastPlayedSongs::GetArtistName() - *Function to get artist name from a TDesC - *@return TDesc instance - */ - IMPORT_C TDesC& GetArtistName(); - - - /** - *CIRLastPlayedSongs::ExternalizeL() - *externalizes the data - *@param RWriteStream - */ - IMPORT_C void ExternalizeL(RWriteStream & aWriteStream); - - - /** - *CIRLastPlayedSongs::InternalizeL() - *internalizes the data - *@param RWriteStream - */ - IMPORT_C void InternalizeL(RReadStream & aReadStream); - - - /** - *CIRLastPlayedSongs::=() - *standard C++ copy constructor(deep copy) - *@param CIRLastPlayedSongs - *@return CIRLastPlayedSongs reference - */ - IMPORT_C CIRLastPlayedSongs& operator=(const CIRLastPlayedSongs& aSng); - - protected: - /** - *CIRLastPlayedSongs::ConstructL() - *standard second phase constructor - */ - void ConstructL(); - -private: - HBufC *iSongName; - HBufC *iArtistName; - }; - -#endif //IRLASTPLAYEDSONGS_H \ No newline at end of file