eventsui/eventsengine/inc/evtdefs.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2008 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:  Definition file for defining the Events unique Id and Status.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef EVTDEFS_H
       
    20 #define EVTDEFS_H
       
    21 
       
    22 // extern data types
       
    23 typedef TUint32 TEvtEventId;
       
    24 
       
    25 // constants go here
       
    26 /**
       
    27  * @enum TEvtEventStatus
       
    28  * Status of the Event.
       
    29  *
       
    30  */
       
    31 enum TEvtEventStatus
       
    32     {
       
    33     /**
       
    34      * The Status of an Event when it is Active
       
    35      */
       
    36     EActive                               = 0,
       
    37     
       
    38     /**
       
    39      * The Status of an Event when it is in Draft
       
    40      */
       
    41     EDraft                                = 1,
       
    42     
       
    43     /**
       
    44      * The Status of an Event when it is complete
       
    45      */
       
    46     ECompleted                            = 2
       
    47     };
       
    48     
       
    49 /**
       
    50  * @enum TEvtFireAccuracy
       
    51  * Accuracy of Fired Trigger.
       
    52  *
       
    53  */
       
    54 enum TEvtFireAccuracy
       
    55     {
       
    56     /**
       
    57      * Trigger Fired with High Accuracy
       
    58      */
       
    59     EHighAccuracy                          = 0,
       
    60     
       
    61     /**
       
    62      * Trigger Fired with Mid Accuracy
       
    63      */
       
    64     EMidAccuracy,
       
    65     /**
       
    66      * Trigger Fired with Low Accuracy
       
    67      */
       
    68     ELowAccuracy
       
    69     };
       
    70     
       
    71 /**
       
    72  * @enum TEvtConsoleAction
       
    73  * Action for the ConsoleUi.
       
    74  *
       
    75  */
       
    76 enum TEvtConsoleAction
       
    77     {
       
    78     /**
       
    79      * No Action
       
    80      */
       
    81     EEvtActionNone                          = 0,
       
    82     
       
    83     /**
       
    84      * Action for ConsoleUi to handle Fired trigger
       
    85      */
       
    86     EEvtActionFired,
       
    87     
       
    88     /**
       
    89      * Action for ConsoleUi to change state
       
    90      */
       
    91     EEvtActionChangeState
       
    92     };
       
    93 #endif // EVTDEFS_H