inc/mussettings.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  ?Description
    14 * Description:  ?Description
    15 *  Name        : mussettingskeys.h
    15 *  Name        : mussettingskeys.h
    16 
    16 
    17 *  Version     : %version: 10 % << Don't touch! Updated by Synergy at check-out.
    17 *  Version     : %version: 9 % << Don't touch! Updated by Synergy at check-out.
    18 *
    18 *
    19 */
    19 */
    20 
    20 
    21 
    21 
    22 #ifndef MUSSETTINGS_H
    22 #ifndef MUSSETTINGS_H
    28  *  A namespace container for MultimediaSharing Settings API constants.
    28  *  A namespace container for MultimediaSharing Settings API constants.
    29  */
    29  */
    30 class MultimediaSharingSettings
    30 class MultimediaSharingSettings
    31     {
    31     {
    32 public:
    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     /**
    33     /**
    79      * Returns current MS activation setting.
    34      * Returns current MS activation setting.
    80      *
    35      *
    81      * @return Current MS activation setting.
    36      * @return Current MS activation setting.
    82      */
    37      */
   117      *
    72      *
   118      * @param
    73      * @param
   119      */
    74      */
   120     static void SetAuditoryNotificationSettingL( 
    75     static void SetAuditoryNotificationSettingL( 
   121                 MusSettingsKeys::TAuditoryNotification aNotificationSetting );
    76                 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 
    77 
   153     /**
    78     /**
   154      * Returns 
    79      * Returns 
   155      *
    80      *
   156      * @return
    81      * @return
   308      * For internal usage only. Use direct getters/setters for each setting. 
   233      * For internal usage only. Use direct getters/setters for each setting. 
   309      *
   234      *
   310      * @param
   235      * @param
   311      * @param
   236      * @param
   312      */
   237      */
   313     static void SetPropertyValueL( TUint32 aKey, const TDesC& aValue );
   238     static void MultimediaSharingSettings::SetPropertyValueL( 
       
   239                                             TUint32 aKey,
       
   240                                             const TDesC& aValue );
   314                                             
   241                                             
   315      /**
   242      /**
   316      * For internal usage only. Use direct getters/setters for each setting. 
   243      * For internal usage only. Use direct getters/setters for each setting. 
   317      *
   244      *
   318      * @param
   245      * @param
   319      * @param
   246      * @param
   320      */
   247      */
   321     static void SetPropertyValueL( TUint32 aKey, TInt aValue );
   248     static void SetPropertyValueL( TUint32 aKey, TInt aValue );
   322    
   249     
   323     /**
   250     /**
   324      * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue 
   251      * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue 
   325      * else otherwise.  
   252      * else otherwise.  
   326      * Means AVC will be disabled when encoding device cenrep configuration 
   253      * Means AVC will be disabled when encoding device cenrep configuration 
   327      * set to 0x0fffffff.
   254      * set to 0x0fffffff.
   328      */
   255      */
   329     static TBool IsAvcDisabled();
   256     static TBool MultimediaSharingSettings::IsAvcDisabled();
   330 	
   257     
       
   258 
       
   259      /**
       
   260      * @return ETrue if privacy is requested
       
   261      *         EFalse otherwise, or if an error occurred reading cenrep
       
   262      */
       
   263     static TBool PrivacySetting();
       
   264     
   331     };
   265     };
   332     
   266     
   333 #include "mussettings.inl"
   267 #include "mussettings.inl"
   334 
   268 
   335 #endif // MUSSETTINGS_H
   269 #endif // MUSSETTINGS_H