calendarui/organizerplugin/aiagendaplugin2/inc/aicalendarplugin2focusdata.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef T_AICALENDARPLUGIN2FOCUSDATA_H
       
    20 #define T_AICALENDARPLUGIN2FOCUSDATA_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <calentry.h>
       
    24 #include "aicalendarplugin2constants.hrh"
       
    25 
       
    26 enum TAI2CalOpenType
       
    27 {
       
    28     EAI2CalOpenEvent = 0,
       
    29     EAI2CalOpenToday,
       
    30     EAI2CalOpenOnEventDay
       
    31 };
       
    32 
       
    33 /**
       
    34  *  Utility class to store entries focus data.
       
    35  *
       
    36  *  @lib aicalendarplugin2
       
    37  *  @since S60 3.2
       
    38  */
       
    39 NONSHARABLE_CLASS( TAiCalendarFocusData )
       
    40     {
       
    41 
       
    42     public: // methods
       
    43     
       
    44         void LaunchCalendarApplicationL();
       
    45 
       
    46     public: // data
       
    47     
       
    48         TCalLocalUid iLocalUid;
       
    49         
       
    50         TTime iEntryTime;
       
    51         
       
    52         TAI2CalOpenType iType;
       
    53 
       
    54         TBool iOpenInViewer;
       
    55         
       
    56     private: // methods
       
    57     
       
    58         void CommandTailL( HBufC16*& aTailBuffer );
       
    59         
       
    60     };
       
    61 
       
    62 #endif  // C_AICALENDARPLUGIN2FOCUSDATA_H
       
    63 
       
    64 
       
    65 // End of File