radioapp/radiouiengine/src/radiohistoryitem_p.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:31:41 +0300
changeset 16 f54ebcfc1b80
child 19 afea38384506
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2009 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:
*
*/

#include "radiohistoryitem.h"
#include "radiohistoryitem_p.h"

/*!
 *
 */
RadioHistoryItemPrivate::RadioHistoryItemPrivate()
{
    init( "", "" );
}

/*!
 *
 */
RadioHistoryItemPrivate::RadioHistoryItemPrivate( const QString& artist,
                                                  const QString& title )
{
    init( artist, title );
}

/*!
 *
 */
void RadioHistoryItemPrivate::init( const QString& artist, const QString& title )
{
    ref = 1;
    mArtist = artist;
    mTitle = title;
    mFrequency = 0;
    mFavorite = false;
    mPlayCount = 1;
}