os/mm/devsoundextensions/globalaudiosettings/inc/GlobalAudioSettingsData.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2004 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:   This file contains definitions of GlobalAudioSettings.
    15 *
    16 */
    17 
    18 
    19 
    20 
    21 #ifndef GLOBALAUDIOSETTINGSDATA_H
    22 #define GLOBALAUDIOSETTINGSDATA_H
    23 
    24 //  INCLUDES
    25 #include <e32std.h>
    26 #include <GlobalAudioSettings.h>
    27 
    28 // CLASS DECLARATION
    29 
    30 /**
    31 *  This class defines the GlobalAudioSettings data structure.
    32 *
    33 *  @lib GlobalAudioSettings.lib
    34 *  @since 3.2
    35 */
    36 class TGlobalAudioSettings
    37     {
    38     public:
    39 
    40         /**
    41         * Constructor.
    42         */
    43         TGlobalAudioSettings() : iWarningTones(EFalse),iMessageTones(EFalse),iSilentProfile(EFalse),
    44                                  iVibra(EFalse),iPublicSilence(EFalse),iMessageToneName(NULL),iEmailToneName(NULL),iRingingType(CGlobalAudioSettings::EGASRingingTypeRinging),iVideoCallToneName(NULL),
    45                                  iRingingTone1Name(NULL),iRingingTone2Name(NULL),iKeyPadVolume(CGlobalAudioSettings::EGASKeypadVolumeOff)
    46         {}
    47 
    48 		TBool iWarningTones;
    49 		TBool iMessageTones;
    50 		TBool iSilentProfile;
    51 		TBool iVibra;
    52 		TBool iPublicSilence;
    53 		HBufC *iMessageToneName;
    54 		HBufC *iEmailToneName;
    55 		CGlobalAudioSettings::TGASRingingType iRingingType;
    56 		HBufC *iVideoCallToneName;
    57 		HBufC *iRingingTone1Name;
    58 		HBufC *iRingingTone2Name;
    59 		CGlobalAudioSettings::TGASKeypadVolume iKeyPadVolume;
    60 		TBool iSilenceMode;
    61     };
    62 
    63 #endif      // GlobalAudioSETTINGSDATA_H
    64 
    65 // End of File