radioapp/radiouiengine/inc/radiomonitorservice.h
changeset 23 a2b50a479edf
parent 19 afea38384506
child 24 6df133bd92e1
--- a/radioapp/radiouiengine/inc/radiomonitorservice.h	Fri May 14 15:52:32 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
-* 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:
-*
-*/
-
-#ifndef RADIOMONITORSERVICE_H
-#define RADIOMONITORSERVICE_H
-
-// System includes
-#include <xqserviceprovider.h>
-
-// User includes
-#include "radioservicedef.h"
-#include "radioenginewrapperobserver.h"
-
-// Forward declarations
-class RadioUiEnginePrivate;
-class RadioStation;
-
-class RadioMonitorService : public XQServiceProvider
-                          , public RadioEngineWrapperObserver
-{
-    Q_OBJECT
-
-public:
-
-    RadioMonitorService( RadioUiEnginePrivate& engine );
-    virtual ~RadioMonitorService();
-
-    void init();
-
-    void notifySong( const QString& song );
-
-public slots:
-
-    void requestNotifications();    // Slot called by Qt Highway
-    void requestAllData();          // Slot called by Qt Highway
-
-private slots:
-
-    void notifyRadioStatus();
-    void notifyFavoriteCount();
-    void notifyStationChange( const RadioStation& station );
-
-private:
-    
-// from base class RadioEngineWrapperObserver
-
-    void tunedToFrequency( uint frequency, int reason );
-
-// New functions
-
-    RadioStatus::Status determineRadioStatus() const;
-    void notify( const QVariant& notification );
-    void notifyList( const QVariantList& list );
-    
-private: // data
-
-    RadioUiEnginePrivate&   mUiEngine;
-
-    QList<int>              mRequestIndexes;
-    
-    RadioStatus::Status     mRadioStatus;
-
-};
-
-#endif // RADIOMONITORSERVICE_H