calendarui/views/inc/calenmonthdata.h
changeset 0 f979ecb2b13e
child 29 12af337248b1
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2002 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:   For data of MonthView by one day.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef     CALENMONTHDATA_H
       
    20 #define     CALENMONTHDATA_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 
       
    26 //  FORWARD DECLARATIONS
       
    27 class TCalenMonthData;
       
    28 
       
    29 //  DATA TYPES
       
    30 typedef CArrayFixFlat<TCalenMonthData> CMonthDataArray;
       
    31 
       
    32 //  CLASS DEFINITIONS
       
    33 /**
       
    34  *  For data of month view
       
    35  */
       
    36 NONSHARABLE_CLASS( TCalenMonthData )
       
    37     {
       
    38 public :  // Constructors and destructor
       
    39     /**
       
    40      * C++ default constructor.
       
    41      */
       
    42     TCalenMonthData();
       
    43 
       
    44     /**
       
    45      * C++ constructor.
       
    46      */
       
    47     TCalenMonthData(TTime aDay);
       
    48 
       
    49     /**
       
    50      * Destructor.
       
    51      */
       
    52     virtual ~TCalenMonthData();
       
    53 
       
    54 public : // New funcitons
       
    55     /**
       
    56      * return day
       
    57      * @return day
       
    58      */
       
    59     TTime   Day();
       
    60 
       
    61     void SetHasEvents(TBool aHasEvents);
       
    62     TBool HasEvents();
       
    63 
       
    64 private :  // New data
       
    65     TTime   iDay;
       
    66     TBool iHasEvents;
       
    67     };
       
    68 
       
    69 #endif      //  CALENMONTHDATA_H
       
    70 
       
    71 
       
    72 // End of File