inc/mussettings.h
branchRCL_3
changeset 22 73a1feb507fb
parent 0 f0cf47e981f9
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
    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: 9 % << Don't touch! Updated by Synergy at check-out.
    17 *  Version     : %version: 10 % << 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 
    33     /**
    78     /**
    34      * Returns current MS activation setting.
    79      * Returns current MS activation setting.
    35      *
    80      *
    36      * @return Current MS activation setting.
    81      * @return Current MS activation setting.
    37      */
    82      */
    72      *
   117      *
    73      * @param
   118      * @param
    74      */
   119      */
    75     static void SetAuditoryNotificationSettingL( 
   120     static void SetAuditoryNotificationSettingL( 
    76                 MusSettingsKeys::TAuditoryNotification aNotificationSetting );
   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 );
    77 
   152 
    78     /**
   153     /**
    79      * Returns 
   154      * Returns 
    80      *
   155      *
    81      * @return
   156      * @return
   233      * For internal usage only. Use direct getters/setters for each setting. 
   308      * For internal usage only. Use direct getters/setters for each setting. 
   234      *
   309      *
   235      * @param
   310      * @param
   236      * @param
   311      * @param
   237      */
   312      */
   238     static void MultimediaSharingSettings::SetPropertyValueL( 
   313     static void SetPropertyValueL( TUint32 aKey, const TDesC& aValue );
   239                                             TUint32 aKey,
       
   240                                             const TDesC& aValue );
       
   241                                             
   314                                             
   242      /**
   315      /**
   243      * For internal usage only. Use direct getters/setters for each setting. 
   316      * For internal usage only. Use direct getters/setters for each setting. 
   244      *
   317      *
   245      * @param
   318      * @param
   246      * @param
   319      * @param
   247      */
   320      */
   248     static void SetPropertyValueL( TUint32 aKey, TInt aValue );
   321     static void SetPropertyValueL( TUint32 aKey, TInt aValue );
   249     
   322    
   250     /**
   323     /**
   251      * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue 
   324      * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue 
   252      * else otherwise.  
   325      * else otherwise.  
   253      * Means AVC will be disabled when encoding device cenrep configuration 
   326      * Means AVC will be disabled when encoding device cenrep configuration 
   254      * set to 0x0fffffff.
   327      * set to 0x0fffffff.
   255      */
   328      */
   256     static TBool MultimediaSharingSettings::IsAvcDisabled();
   329     static TBool IsAvcDisabled();
   257     
   330 	
   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     
       
   265     };
   331     };
   266     
   332     
   267 #include "mussettings.inl"
   333 #include "mussettings.inl"
   268 
   334 
   269 #endif // MUSSETTINGS_H
   335 #endif // MUSSETTINGS_H