diff -r b31261fd4e04 -r ccd8e69b5392 inc/mussettings.h --- a/inc/mussettings.h Tue Feb 02 00:09:07 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,269 +0,0 @@ -/* -* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: ?Description -* Name : mussettingskeys.h - -* Version : %version: 9 % << Don't touch! Updated by Synergy at check-out. -* -*/ - - -#ifndef MUSSETTINGS_H -#define MUSSETTINGS_H - -#include "mussettingskeys.h" - -/** - * A namespace container for MultimediaSharing Settings API constants. - */ -class MultimediaSharingSettings - { -public: - /** - * Returns current MS activation setting. - * - * @return Current MS activation setting. - */ - static MusSettingsKeys::TActivation ActivationSettingL(); - - /** - * Sets the MS activation setting - * - * @param - */ - static void SetActivationSettingL( MusSettingsKeys::TActivation aActivationSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TOperatorVariant - MultimediaSharingSettings::OperatorVariantSettingL(); - - /** - * Sets - * - * @param - */ - static void MultimediaSharingSettings::SetOperatorVariantSettingL( - MusSettingsKeys::TOperatorVariant aVariantSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TAuditoryNotification AuditoryNotificationSettingL(); - - /** - * Sets - * - * @param - */ - static void SetAuditoryNotificationSettingL( - MusSettingsKeys::TAuditoryNotification aNotificationSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TEdgeDtmSupport EdgeDtmSupportSettingL(); - - /** - * Sets - * - * @param - */ - static void SetEdgeDtmSupportSettingL( - MusSettingsKeys::TEdgeDtmSupport aSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TForceInternetSignaling ForceInternetSignalingSettingL(); - - /** - * Sets - * - * @param - */ - static void SetForceInternetSignalingSettingL( - MusSettingsKeys::TForceInternetSignaling aSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TAutoRecord AutoRecordSettingL(); - - /** - * Sets - * - * @param - */ - static void SetAutoRecordSettingL( MusSettingsKeys::TAutoRecord aSetting ); - - /** - * Returns - * - * @return - */ - static TInt VideoLocationSettingL(); - - /** - * Sets - * - * @param - */ - static void SetVideoLocationSettingL( TInt aSetting ); - - /** - * Returns - * - * @return - */ - static TInt SipProfileSettingL(); - - /** - * Sets - * - * @param - */ - static void SetSipProfileSettingL( TInt aSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TUiOrientation UiOrientationSettingL(); - - /** - * Sets - * - * @param - */ - static void SetUiOrientationSettingL( - MusSettingsKeys::TUiOrientation aOrientationSetting ); - - /** - * Returns - * - * @return - */ - static MusSettingsKeys::TCapabilityQuery CapabilityQuerySettingL(); - - /** - * Sets - * - * @param - */ - static void SetCapabilityQuerySettingL( - MusSettingsKeys::TCapabilityQuery aOrientationSetting ); - - /** - * Returns resource availability which is read from cenrep. - * - * @return - */ - static void ResourceAvailability(MusSettingsKeys::TAvailability &aCamera, - MusSettingsKeys::TAvailability &aKeypad); - - /** - * Returns resource usuability which is read from cenrep. - * - * @return - */ - static void ResourceUsability(MusSettingsKeys::TUsability &aCamera, - MusSettingsKeys::TUsability &aKeypad, - MusSettingsKeys::TUsability &aVideoplayer); - - /** - * @return Concatenation of encoder configuration information. - * Information has been divided to tokens separated by a semicolon. - * Keys will read from cenrep. Ownership is transferred. - */ - static HBufC8* EncoderConfigInfoLC(); - - - - /** - * @param A concatenation of encoder configuration information - */ - static void SetEncoderConfigInfoL( const TDesC8& aConfigInfo ); - - /** - * - */ - static TUid EncodingDeviceL(); - - /** - * For internal usage only. Use direct getters/setters for each setting. - * - * @param - * @return - */ - static TInt GetPropertyValueL( TUint32 aKey ); - - /** - * For internal usage only. Use direct getters/setters for each setting. - * - * @param - * @return - */ - static HBufC16* GetPropertyValueLC( TUint32 aKey ); - - /** - * For internal usage only. Use direct getters/setters for each setting. - * - * @param - * @param - */ - static void MultimediaSharingSettings::SetPropertyValueL( - TUint32 aKey, - const TDesC& aValue ); - - /** - * For internal usage only. Use direct getters/setters for each setting. - * - * @param - * @param - */ - static void SetPropertyValueL( TUint32 aKey, TInt aValue ); - - /** - * If Encoding device set to KMusDisableAVC (0x0fffffff) returns ETrue - * else otherwise. - * Means AVC will be disabled when encoding device cenrep configuration - * set to 0x0fffffff. - */ - static TBool MultimediaSharingSettings::IsAvcDisabled(); - - - /** - * @return ETrue if privacy is requested - * EFalse otherwise, or if an error occurred reading cenrep - */ - static TBool PrivacySetting(); - - }; - -#include "mussettings.inl" - -#endif // MUSSETTINGS_H