mmsharinguis_plat/multimedia_sharing_settings_api/inc/mussettingskeys.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 2006 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:  ?Description
       
    15 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MUSSETTINGSKEYS_H
       
    21 #define MUSSETTINGSKEYS_H
       
    22 
       
    23 #include <e32cmn.h>
       
    24 
       
    25 /**
       
    26  *  A namespace container for MultimediaSharing Settings API constants.
       
    27  */
       
    28 namespace MusSettingsKeys
       
    29     {
       
    30     /** Repository uid */
       
    31     const TUid KRepositoryUid = { 0x1028238B };
       
    32 
       
    33     /* Defines when MultimediaSharing is activated (always/in home networks/never).
       
    34        Modified from the Settings UI of MultimediaSharing. */
       
    35     const TInt KActivation( 0x01 );
       
    36     /**  Contains the possible values of KMusActivation key. */
       
    37     enum TActivation
       
    38         {
       
    39         EAlwaysActive,
       
    40         EActiveInHomeNetworks,
       
    41         ENever       
       
    42         };	
       
    43     
       
    44     /** Defines that should we act in a operator specific way. */
       
    45     const TInt KOperatorVariant( 0x2 );
       
    46     /** Contains the possible values of KOperatorVariant key. */
       
    47     enum TOperatorVariant
       
    48         {
       
    49         EStandard,
       
    50         EOperatorSpecific
       
    51         };
       
    52         
       
    53     /** Defines that should a beep be played when MS becomes available. 
       
    54     	Modified from the Settings UI of MultimediaSharing. */
       
    55     const TInt KAuditoryNotification( 0x03 );	
       
    56     /** Contains the possible values of KMusAvailabilityAuditoryNotification key. */
       
    57     enum TAuditoryNotification
       
    58         {
       
    59         EAuditoryNotificationOn,
       
    60         EAuditoryNotificationOff
       
    61         };
       
    62 
       
    63     /** Defines that should a popup dialog be shown when MS becomes available. 
       
    64      *   @deprecated
       
    65      */
       
    66     const TInt KPopupNotification( 0x04 );	
       
    67     /** Contains the possible values of KMusAvailabilityPopupNotification key.
       
    68      *  @deprecated
       
    69      */
       
    70     enum TPopupNotification
       
    71         {
       
    72         EPopupNotificationOn,
       
    73         EPopupNotificationOff
       
    74         };
       
    75     
       
    76     /** @deprecated */
       
    77     const TInt KPopupNotificationType( 0x05 );
       
    78     /** @deprecated */
       
    79     enum TPopupNotificationType
       
    80 	    {
       
    81     	ENotificationTypeQueryUser,
       
    82     	ENotificationTypePopup
       
    83     	};
       
    84     
       
    85     /** Defines EDGE/DTM support. */
       
    86     const TInt KEdgeDtmSupport( 0x06 );	
       
    87     /** Contains the possible values of KMusEdgeDtmSupport key. */
       
    88     enum TEdgeDtmSupport
       
    89         {
       
    90         EDtmModeAllowed,
       
    91         EDtmModeNotAllowed
       
    92         };
       
    93     
       
    94     /** Defines that is short (IETF) or long (3GPP) way of initiating sessions used. */
       
    95     const TInt KForceInternetSignaling( 0x07 );	
       
    96     /** Contains the possible values of KMusSessionSetupMethod key. */
       
    97     enum TForceInternetSignaling
       
    98         {
       
    99         EForceInternetSignaling,
       
   100         EFollowProfileConfiguration
       
   101         };
       
   102     
       
   103     /**  
       
   104     	Modified from the Settings UI of MultimediaSharing. */
       
   105     const TInt KAutoRecord( 0x08 );	
       
   106     /** Contains the possible values of KAutoRecord key. */
       
   107     enum TAutoRecord
       
   108         {
       
   109         EAutoRecordOn,
       
   110         EAutoRecordOff
       
   111         };
       
   112     
       
   113     /** 
       
   114     	Modified from the Settings UI of MultimediaSharing. */
       
   115     const TInt KVideoLocation( 0x09 );	
       
   116 
       
   117     /** Defines the id of the SIP Profile to be used by MultimediaSharing. 
       
   118     	Modified from the Settings UI of MultimediaSharing. */
       
   119     /** Contains an integer value. */
       
   120     const TInt KSipProfileId( 0x0A );
       
   121     
       
   122     /** Defines the default orientation of the UI. */
       
   123     const TInt KUiOrientation( 0x0B );	
       
   124     /** Contains the possible values of KMusUiOrientation key. */
       
   125     enum TUiOrientation
       
   126         {
       
   127         EPortrait,
       
   128         ELandscape
       
   129         };
       
   130         
       
   131     /** Defines the type of SIP options. 
       
   132         Defines that how are SIP OPTIONS handled (3GPP / operator specific way?) */
       
   133     const TInt KCapabilityQuery( 0x0C );
       
   134     /** */
       
   135     enum TCapabilityQuery
       
   136         {
       
   137         ESequential,
       
   138         EParallel,
       
   139         ENoOptions
       
   140         };
       
   141 
       
   142     /** Defines the intial value for product mode variation key. 
       
   143       * The values should be constructed like below
       
   144       *
       
   145       * 7 = Most Significant Bit(MSB) and 0 = Least Significant Bit (LSB)
       
   146       * 76543210 <-- bits 7 and 6 for the video player, 
       
   147       *                   5, 4 and 3 for the keypad,
       
   148       *                   2, 1 and 0 for the camera 
       
   149       *
       
   150       * Bit 1 & 0 : Camera Usability
       
   151       *             00 - > Always 
       
   152       *             01 - > Only portrait
       
   153       *             10 - > Only lanscape
       
   154       * Bit 2     : Camera Availability
       
   155       *             0  - > Static ( For example no camera lens cover) 
       
   156       *             1  - > Dynamic ( For example camera with lens cover)      
       
   157       * Bit 3 & 4 : Keypad Usuability
       
   158       *             00 - > Always 
       
   159       *             01 - > Only portrait
       
   160       *             10 - > Only lanscape
       
   161       * Bit 5     : Keypad Availability
       
   162       *             0  - > Static ( For example keypad Not covered) 
       
   163       *             1  - > Dynamic ( For example keypad covered)
       
   164       * Bit 6 & 7 : Videoplayer Usability
       
   165       *             00 - > Always 
       
   166       *             01 - > Only portrait
       
   167       *             10 - > Only lanscape
       
   168       * Note :Videoplayer availability will be always.There is no static
       
   169       *        and dynamic availability in videoplayer.  
       
   170       *
       
   171       * Example : Bits set like 
       
   172       *           01110001 = 0x71 ( In hex format ) = 113 ( In integer format )
       
   173       *           It will be intrepreted and used like
       
   174       *             a)Videoplayer is usable only in portrait and
       
   175       *             b)Keypad availability is dynamic and if it is available
       
   176       *               the can be used only in landscape mode.
       
   177       *             c)Camera availability is static and can be used only in
       
   178       *               portrait mode.
       
   179       */
       
   180     const TInt KProductModeVariation( 0x0D );
       
   181     
       
   182     enum TAvailability
       
   183     	{
       
   184     	EAvailabilityStatic,
       
   185     	EAvailabilityDynamic
       
   186     	};
       
   187 
       
   188 	enum TUsability
       
   189     	{
       
   190     	EUsabilityAlways,
       
   191     	EUsabilityPortrait,
       
   192     	EUsabilityLandscape
       
   193     	};
       
   194 
       
   195     /** Concatenation of encoder configuration information. Information has been
       
   196       * divided to tokens separated by a semicolon. Modified from the MusEngine.
       
   197       * Contains a 8-bit descriptor value. 
       
   198       */
       
   199     const TInt KEncoderConfigurationInfo( 0x0E );
       
   200 
       
   201     /**
       
   202       * Contains UID of the encoding device meant to be used. Read by MuS Engine
       
   203       */
       
   204     const TInt KEncodingDevice( 0x0F );
       
   205     
       
   206     /** Defines the type of privcy exchange. 
       
   207      Defines that how are SIP PRIVACY id handled */
       
   208     const TInt KPrivacyExchange( 0x10 );
       
   209    
       
   210     enum TPrivacyExchange
       
   211         {
       
   212         EPrivacy = 1,
       
   213         ENoPrivacy
       
   214         };
       
   215         
       
   216     }
       
   217 
       
   218 
       
   219 #endif // MUSSETTINGSKEYS_H
       
   220