common/radioservicedef.h
author Pat Downey <patd@symbian.org>
Wed, 23 Jun 2010 17:20:24 +0100
changeset 29 29ba091146f4
parent 28 075425b8d9a4
child 32 189d20c34778
permissions -rw-r--r--
Merge docml changes again.

/*
* 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 RADIOSERVICES_H
#define RADIOSERVICES_H

#include <QLatin1String>

static const QLatin1String RADIO_CONTROL_SERVICE( "com.nokia.services.Radio.IRadioControl" );
static const QLatin1String RADIO_MONITOR_SERVICE( "com.nokia.services.Radio.IRadioMonitor" );

const long KRadioPSUid = 0x101FF976;
const unsigned long KRadioStartupKey = 0x00000014;

const quint32 NOKIA_VENDORID = VID_DEFAULT;

namespace RadioServiceCommand
{
    enum CommandId
    {
        PowerOn,
        PowerOff,
        Previous,
        Next,
        SeekUp,
        SeekDown,
        Foreground,
        Background,
        Mute,
        UnMute
    };
}

namespace RadioServiceNotification
{
    enum Type {
        FavoriteCount = 1,
        CurrentIsFavorite,
        RadioStatus,
        Frequency,
        Name,
        Genre,
        RadioText,
        DynamicPS
    };
}

namespace RadioStatus
{
    enum Status {
        UnSpecified,
        Playing,
        Muted,
        Seeking,
        NoAntenna,
        PoweringOff
    };
}

#endif // RADIOSERVICES_H