javaextensions/pim/common/inc.s60/pimevent.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     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:  Event types and constants
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PIMEVENT_H
       
    20 #define PIMEVENT_H
       
    21 
       
    22 /** @file
       
    23  * This file contains the PIM API constants and definitions for Events.
       
    24  */
       
    25 
       
    26 /**
       
    27  * Event search type.
       
    28  * [From javax.microedition.pim.EventList]
       
    29  */
       
    30 enum TPIMEventSearchType
       
    31 {
       
    32     EPIMEventSearchStarting = 0,
       
    33     EPIMEventSearchEnding = 1,
       
    34     EPIMEventSearchOccurring = 2
       
    35 };
       
    36 
       
    37 /**
       
    38  * Event list type constants
       
    39  */
       
    40 enum TPIMEventListType
       
    41 {
       
    42     EPIMEventListAppointment = 0,
       
    43     EPIMEventListEvent = 1,
       
    44     EPIMEventListAnniversary = 2
       
    45 };
       
    46 
       
    47 /**
       
    48  * Event field constants.
       
    49  */
       
    50 enum TPIMEventField
       
    51 {
       
    52     EPIMEventAlarm = 100,
       
    53     /**< Integer, seconds. */
       
    54 
       
    55     EPIMEventClass = 101,
       
    56     /**< Integer, values from \ref TPIMEventClassValue. */
       
    57 
       
    58     EPIMEventEnd = 102,
       
    59     /**< Date. */
       
    60 
       
    61     EPIMEventLocation = 103,
       
    62     /**< String. */
       
    63 
       
    64     EPIMEventNote = 104,
       
    65     /**< String. */
       
    66 
       
    67     EPIMEventRevision = 105,
       
    68     /**< Date, read-only when persisted (the time of last modification). */
       
    69 
       
    70     EPIMEventStart = 106,
       
    71     /**< Date. */
       
    72 
       
    73     EPIMEventSummary = 107,
       
    74     /**< String. */
       
    75 
       
    76     EPIMEventUid = 108
       
    77     /**< String, read-only when persisted (converted from the Item ID). */
       
    78 };
       
    79 
       
    80 /**
       
    81  * Event \ref EPIMEventClass field values.
       
    82  * [From javax.microedition.pim.Event]
       
    83  */
       
    84 enum TPIMEventClassValue
       
    85 {
       
    86     EPIMEventClassConfidential = 200,
       
    87     EPIMEventClassPrivate = 201,
       
    88     EPIMEventClassPublic = 202
       
    89 };
       
    90 
       
    91 #endif // PIMEVENT_H