radioapp/radiouiengine/src/radiohistoryitem_p.cpp
changeset 16 f54ebcfc1b80
child 19 afea38384506
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/radioapp/radiouiengine/src/radiohistoryitem_p.cpp	Mon May 03 12:31:41 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* 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;
+}