devicediagnostics/diagplugins/diagvibrateplugin/inc/diagvibratepluginobserver.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Callback IF to inform vibrate status changes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __DIAGVIBRATEPLUGINOBSERVER_H__
       
    20 #define __DIAGVIBRATEPLUGINOBSERVER_H__
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 // CONSTANTS
       
    25 
       
    26 // MACROS
       
    27 
       
    28 // DATA TYPES
       
    29 enum TVibrateStatus 
       
    30     {
       
    31     EVibrateStarted,
       
    32     EVibrateEnded,
       
    33     EVibrateFailed,
       
    34     EVibrateBlocked
       
    35     };
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 
       
    41 // CLASS DECLARATION
       
    42 class MDiagVibratePluginObserver 
       
    43     {
       
    44     public: 
       
    45     
       
    46         /**
       
    47         * Inform vibrate status changes
       
    48         *
       
    49         * @param aStatus Status of the vibrate engine
       
    50         */
       
    51         virtual void VibraStatusChanged( TVibrateStatus aStatus ) = 0;
       
    52     };
       
    53 
       
    54 #endif // __DIAGVIBRATEPLUGINOBSERVER_H__
       
    55 
       
    56 //End of File