inc/mussettings.h
branchGCC_SURGE
changeset 27 7a2f5f2dfe61
parent 22 496ad160a278
equal deleted inserted replaced
20:e8be2c2e049d 27:7a2f5f2dfe61
       
     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 *  Name        : mussettingskeys.h
       
    16 
       
    17 *  Version     : %version: 10 % << Don't touch! Updated by Synergy at check-out.
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef MUSSETTINGS_H
       
    23 #define MUSSETTINGS_H
       
    24 
       
    25 #include "mussettingskeys.h"
       
    26 
       
    27 /**
       
    28  *  A namespace container for MultimediaSharing Settings API constants.
       
    29  */
       
    30 class MultimediaSharingSettings
       
    31     {
       
    32 public:
       
    33     
       
    34     /**
       
    35      * Returns the cenrep configured value for KFastStartupMode key.
       
    36      *
       
    37      * @return Current KVideoDirection Key value from cenrep.
       
    38      */
       
    39     static MusSettingsKeys::TFastMode FastStartupModeL();
       
    40     
       
    41     
       
    42     /**
       
    43      * Returns the cenrep configured value for KVideoBandwidth key.
       
    44      *
       
    45      * @return Current KVideoBandwidth Key value from cenrep.
       
    46      */
       
    47     static TInt VideoBandwidthSettingL();
       
    48 
       
    49     /**
       
    50      * Returns the cenrep configured value for KVideoDirection key.
       
    51      *
       
    52      * @return Current KVideoDirection Key value from cenrep.
       
    53      */
       
    54     static MusSettingsKeys::TVideoDirection VideoDirectionL();
       
    55     
       
    56 
       
    57     /**
       
    58      * Returns the cenrep configured value for KCameraUsage key.
       
    59      *
       
    60      * @return Current KCameraUsage Key value from cenrep.
       
    61      */
       
    62     static MusSettingsKeys::TUseCamera CameraUsageL();
       
    63     
       
    64     /**
       
    65      * Returns the cenrep configured value for AllowedCSOnly key.
       
    66      *
       
    67      * @return Current AllowedCSOnly Key value from cenrep.
       
    68      */
       
    69     static MusSettingsKeys::TAllowedCSOnly AllowedCSOnlySettingL();
       
    70 
       
    71     /**
       
    72      * Returns the cenrep configured value for Allowed3GOnly key.
       
    73      *
       
    74      * @return Current Allowed3GOnly Key value from cenrep.
       
    75      */
       
    76     static MusSettingsKeys::TAllowed3GOnly Allowed3GOnlySettingL();
       
    77 
       
    78     /**
       
    79      * Returns current MS activation setting.
       
    80      *
       
    81      * @return Current MS activation setting.
       
    82      */
       
    83     static MusSettingsKeys::TActivation ActivationSettingL();
       
    84     
       
    85     /**
       
    86      * Sets the MS activation setting
       
    87      *
       
    88      * @param
       
    89      */
       
    90     static void SetActivationSettingL( MusSettingsKeys::TActivation aActivationSetting );
       
    91     
       
    92     /**
       
    93      * Returns 
       
    94      *
       
    95      * @return
       
    96      */
       
    97     static MusSettingsKeys::TOperatorVariant
       
    98                 MultimediaSharingSettings::OperatorVariantSettingL();
       
    99 
       
   100     /**
       
   101      * Sets 
       
   102      *
       
   103      * @param
       
   104      */
       
   105     static void MultimediaSharingSettings::SetOperatorVariantSettingL(
       
   106                      MusSettingsKeys::TOperatorVariant aVariantSetting );
       
   107 
       
   108     /**
       
   109      * Returns 
       
   110      *
       
   111      * @return
       
   112      */
       
   113     static MusSettingsKeys::TAuditoryNotification AuditoryNotificationSettingL();
       
   114 
       
   115     /**
       
   116      * Sets 
       
   117      *
       
   118      * @param
       
   119      */
       
   120     static void SetAuditoryNotificationSettingL( 
       
   121                 MusSettingsKeys::TAuditoryNotification aNotificationSetting );
       
   122 
       
   123     /**
       
   124      * Returns 
       
   125      *
       
   126      * @return
       
   127      */
       
   128     static MusSettingsKeys::TPopupNotification PopupNotificationSettingL();
       
   129 
       
   130     /**
       
   131      * Sets 
       
   132      *
       
   133      * @param
       
   134      */
       
   135     static void SetPopupNotificationSettingL( 
       
   136                 MusSettingsKeys::TPopupNotification aNotificationSetting );
       
   137           
       
   138     /**
       
   139      * Returns 
       
   140      *
       
   141      * @return
       
   142      */
       
   143     static MusSettingsKeys::TPopupNotificationType PopupNotificationTypeSettingL();
       
   144 					
       
   145     /**
       
   146      * Sets 
       
   147      *
       
   148      * @param
       
   149      */
       
   150     static void SetPopupNotificationTypeSettingL( 
       
   151                 MusSettingsKeys::TPopupNotificationType aNotificationSetting );
       
   152 
       
   153     /**
       
   154      * Returns 
       
   155      *
       
   156      * @return
       
   157      */
       
   158     static MusSettingsKeys::TEdgeDtmSupport EdgeDtmSupportSettingL();
       
   159     
       
   160     /**
       
   161      * Sets 
       
   162      *
       
   163      * @param
       
   164      */
       
   165     static void SetEdgeDtmSupportSettingL( 
       
   166             MusSettingsKeys::TEdgeDtmSupport aSetting );
       
   167     
       
   168     /**
       
   169      * Returns 
       
   170      *
       
   171      * @return
       
   172      */
       
   173     static MusSettingsKeys::TForceInternetSignaling ForceInternetSignalingSettingL();
       
   174     
       
   175     /**
       
   176      * Sets 
       
   177      *
       
   178      * @param
       
   179      */
       
   180     static void SetForceInternetSignalingSettingL( 
       
   181             MusSettingsKeys::TForceInternetSignaling aSetting );
       
   182     
       
   183     /**
       
   184      * Returns 
       
   185      *
       
   186      * @return
       
   187      */
       
   188     static MusSettingsKeys::TAutoRecord AutoRecordSettingL();
       
   189     
       
   190     /**
       
   191      * Sets 
       
   192      *
       
   193      * @param
       
   194      */
       
   195     static void SetAutoRecordSettingL( MusSettingsKeys::TAutoRecord aSetting );
       
   196     
       
   197     /**
       
   198      * Returns 
       
   199      *
       
   200      * @return
       
   201      */
       
   202     static TInt VideoLocationSettingL();
       
   203     
       
   204     /**
       
   205      * Sets 
       
   206      *
       
   207      * @param
       
   208      */
       
   209     static void SetVideoLocationSettingL( TInt aSetting );
       
   210     
       
   211     /**
       
   212      * Returns 
       
   213      *
       
   214      * @return
       
   215      */
       
   216     static TInt SipProfileSettingL();
       
   217     
       
   218     /**
       
   219      * Sets 
       
   220      *
       
   221      * @param
       
   222      */
       
   223     static void SetSipProfileSettingL( TInt aSetting );
       
   224     
       
   225     /**
       
   226      * Returns 
       
   227      *
       
   228      * @return
       
   229      */
       
   230     static MusSettingsKeys::TUiOrientation UiOrientationSettingL();
       
   231     
       
   232     /**
       
   233      * Sets 
       
   234      *
       
   235      * @param
       
   236      */
       
   237     static void SetUiOrientationSettingL( 
       
   238             MusSettingsKeys::TUiOrientation aOrientationSetting );
       
   239 
       
   240     /**
       
   241      * Returns 
       
   242      *
       
   243      * @return
       
   244      */
       
   245     static MusSettingsKeys::TCapabilityQuery CapabilityQuerySettingL();
       
   246 
       
   247     /**
       
   248      * Sets 
       
   249      *
       
   250      * @param
       
   251      */
       
   252     static void SetCapabilityQuerySettingL(
       
   253                     MusSettingsKeys::TCapabilityQuery aOrientationSetting );
       
   254                     
       
   255     /**
       
   256      * Returns resource availability which is read from cenrep.
       
   257      * 
       
   258      * @return
       
   259      */
       
   260     static void ResourceAvailability(MusSettingsKeys::TAvailability &aCamera,
       
   261                                      MusSettingsKeys::TAvailability &aKeypad);
       
   262 
       
   263 	/**
       
   264      * Returns resource usuability which is read from cenrep.
       
   265      *
       
   266      * @return
       
   267      */
       
   268     static void ResourceUsability(MusSettingsKeys::TUsability &aCamera,
       
   269                                   MusSettingsKeys::TUsability &aKeypad,
       
   270                                   MusSettingsKeys::TUsability &aVideoplayer);
       
   271 
       
   272 	/**
       
   273      * @return Concatenation of encoder configuration information.
       
   274      *         Information has been divided to tokens separated by a semicolon.
       
   275      *         Keys will read from cenrep. Ownership is transferred.
       
   276      */
       
   277     static HBufC8* EncoderConfigInfoLC();
       
   278 
       
   279     
       
   280 
       
   281     /**
       
   282      * @param A concatenation of encoder configuration information
       
   283      */
       
   284     static void SetEncoderConfigInfoL( const TDesC8& aConfigInfo );
       
   285 
       
   286     /**
       
   287      *
       
   288      */
       
   289     static TUid EncodingDeviceL();
       
   290 
       
   291     /**
       
   292      * For internal usage only. Use direct getters/setters for each setting. 
       
   293      *
       
   294      * @param
       
   295      * @return
       
   296      */
       
   297     static TInt GetPropertyValueL( TUint32 aKey );
       
   298 
       
   299     /**
       
   300      * For internal usage only. Use direct getters/setters for each setting. 
       
   301      *
       
   302      * @param
       
   303      * @return
       
   304      */
       
   305     static HBufC16* GetPropertyValueLC( TUint32 aKey );
       
   306                                             
       
   307      /**
       
   308      * For internal usage only. Use direct getters/setters for each setting. 
       
   309      *
       
   310      * @param
       
   311      * @param
       
   312      */
       
   313     static void SetPropertyValueL( TUint32 aKey, const TDesC& aValue );
       
   314                                             
       
   315      /**
       
   316      * For internal usage only. Use direct getters/setters for each setting. 
       
   317      *
       
   318      * @param
       
   319      * @param
       
   320      */
       
   321     static void SetPropertyValueL( TUint32 aKey, TInt aValue );
       
   322    
       
   323     /**
       
   324      * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue 
       
   325      * else otherwise.  
       
   326      * Means AVC will be disabled when encoding device cenrep configuration 
       
   327      * set to 0x0fffffff.
       
   328      */
       
   329     static TBool IsAvcDisabled();
       
   330 	
       
   331     };
       
   332     
       
   333 #include "mussettings.inl"
       
   334 
       
   335 #endif // MUSSETTINGS_H