radioapp/commoninc/radioservicedef.h
changeset 16 f54ebcfc1b80
child 19 afea38384506
equal deleted inserted replaced
14:63aabac4416d 16:f54ebcfc1b80
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef RADIOSERVICES_H
       
    19 #define RADIOSERVICES_H
       
    20 
       
    21 static const char* RADIO_CONTROL_SERVICE = "com.nokia.services.Radio.IRadioControl";
       
    22 static const char* RADIO_MONITOR_SERVICE = "com.nokia.services.Radio.IRadioMonitor";
       
    23 
       
    24 const long KRadioPSUid = 0x101FF976;
       
    25 const unsigned long KRadioStartupKey = 0x00000014;
       
    26 
       
    27 namespace RadioServiceCommand
       
    28 {
       
    29     enum CommandId
       
    30     {
       
    31         Play,
       
    32         Pause,
       
    33         Previous,
       
    34         Next,
       
    35         SeekUp,
       
    36         SeekDown,
       
    37         Foreground,
       
    38         Background
       
    39     };
       
    40 }
       
    41 
       
    42 namespace RadioServiceNotification
       
    43 {
       
    44     enum Type {
       
    45         FavoriteCount = 1,
       
    46         AntennaConnected,
       
    47         RadioStatus,
       
    48         Frequency,
       
    49         Name,
       
    50         Genre,
       
    51         RadioText,
       
    52         HomePage,
       
    53         Song
       
    54     };
       
    55 }
       
    56 
       
    57 namespace RadioStatus
       
    58 {
       
    59     enum Status {
       
    60         Playing,
       
    61         Muted,
       
    62         Seeking
       
    63     };
       
    64 }
       
    65 
       
    66 #endif // RADIOSERVICES_H