gsprofilesrv_plat/profiles_engine_api/inc/MProfileVibraSettings.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 24 8ee96d21d9bf
child 26 e78c61e77b1a
equal deleted inserted replaced
24:8ee96d21d9bf 25:7e0eff37aedb
     1 /*
       
     2 * Copyright (c) 2009 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:  Extended profile interface.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MPROFILEVIBRASETTINGS_H
       
    19 #define __MPROFILEVIBRASETTINGS_H
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  Profile vibra settings interface.
       
    29 *  This interface offers methods to get vibra settings
       
    30 *
       
    31 *  @lib N/A
       
    32 *  @since 10.1
       
    33 */
       
    34 class MProfileVibraSettings
       
    35 {
       
    36 protected:  // Destructor
       
    37     
       
    38     virtual ~MProfileVibraSettings() {};
       
    39     
       
    40 public:
       
    41     
       
    42     /**
       
    43     * Returns alert vibra settings
       
    44     * @since 10.1
       
    45     * @return Returns vibra settings
       
    46     */
       
    47     virtual TInt AlertVibra() const = 0;
       
    48     
       
    49     /**
       
    50     * Returns ring alert vibra
       
    51     * @since 10.1
       
    52     * @return Returns ring alert vibra
       
    53     */
       
    54     virtual TBool RingAlertVibra() const = 0;
       
    55     
       
    56     /**
       
    57     * Returns message alert vibra
       
    58     * @since 10.1
       
    59     * @return Returns message alert vibra
       
    60     */    
       
    61     virtual TBool MessageAlertVibra() const = 0;
       
    62     
       
    63     /**
       
    64     * Returns Email alert vibra
       
    65     * @since 10.1
       
    66     * @return Returns Email alert vibra
       
    67     */
       
    68     virtual TBool EmailAlertVibra() const = 0;
       
    69     
       
    70     /**
       
    71     * Returns reminder alert vibra
       
    72     * @since 10.1
       
    73     * @return Returns reminder alert vibra
       
    74     */
       
    75     virtual TBool ReminderAlarmVibra() const = 0;
       
    76     
       
    77     /**
       
    78     * Returns information vibra
       
    79     * @since 10.1
       
    80     * @return Returns information alert vibra
       
    81     */
       
    82     virtual TBool InformationVibra() const = 0;
       
    83 };
       
    84 
       
    85 #endif  // __MPROFILEVIBRASETTINGS_H
       
    86 
       
    87 //End of File