helix_ren/helix_stub/rop_custom_commands_api/inc/MMFROPCustomCommandConstants.h
changeset 0 d7e778ce6e8e
equal deleted inserted replaced
-1:000000000000 0:d7e778ce6e8e
       
     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: Constants defined for Coustom Commands
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MMFROPCUSTOMCOMMANDCONSTANTS_H
       
    19 #define __MMFROPCUSTOMCOMMANDCONSTANTS_H
       
    20 #include <e32std.h>
       
    21 /**
       
    22  * @publishedAll
       
    23  *
       
    24  * Interface UID and messages for the ROP Controller API.
       
    25  */
       
    26 const TUid KUidInterfaceMMFROPController = {0x101F855D};
       
    27 /**
       
    28  *  Function constants
       
    29  */
       
    30 enum TMMFROPControllerMessage
       
    31 {
       
    32     EMMFROPControllerGetApplicationConfig,
       
    33     EMMFROPControllerSetApplicationConfig,
       
    34     EMMFROPControllerGetErrorLog,
       
    35     EMMFROPControllerClearErrorLog,
       
    36 
       
    37     EMMFROPControllerSetDownloadID,
       
    38 
       
    39     EMMFROPControllerSetDownloadComplete,
       
    40     EMMFROPControllerSetDownloadSize
       
    41 };
       
    42 /**
       
    43  *  Constants describing the config version to query
       
    44  */
       
    45 enum TMMFROPControllerConfigVersion
       
    46 {
       
    47     KMMFAudioVideoConfigDefault,   // Configuration created on installation
       
    48     KMMFAudioVideoConfigOperator,  // Configuration created on operator setup
       
    49     KMMFAudioVideoConfigUser       // Last Configuration saved by the application
       
    50 };
       
    51 /**
       
    52  *  Constants describing ErrorLog error classes.
       
    53  *  XXX  This enumeration must match the EErrorLogClass enumeration located
       
    54  *  XXX  in errorlog_sink.h.
       
    55  */
       
    56 enum TMMFROPErrorLogClass
       
    57 {
       
    58     KMMFROPErrorLogRTSP,           // RTSP error (must be first enum)
       
    59     KMMFROPErrorLogSendEvents,     // Error Send Events
       
    60     KMMFROPErrorLogECXlat,         // Error code translation.
       
    61     KMMFROPErrorLogNumClasses      // Number of error log classes (not a class)
       
    62 };
       
    63 #endif __MMFROPCUSTOMCOMMANDCONSTANTS_H