calendarui/views/dayview/tsrc/unittests/unittest_calendaymodelmanager/calencontext.h
changeset 45 b6db4fd4947b
child 81 ce92091cbd61
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     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:  Calendar context, info on what's currently focused
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CALENCONTEXT_H
       
    20 #define CALENCONTEXT_H
       
    21 #include <QDateTime>
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class TCalenInstanceId;
       
    25 class QDateTime;
       
    26 
       
    27 // INCLUDES
       
    28 
       
    29 // CLASS DEFINITIONS
       
    30 /**
       
    31  * The controller handles events from the rest of Calendar and delegates
       
    32  * them to the appropriate place (i.e. the action ui classes).
       
    33  */
       
    34 class MCalenContext
       
    35     {
       
    36 public :
       
    37     QDateTime focusDateAndTime()
       
    38     	{
       
    39 			return QDateTime(QDate(2000, 10, 10));
       
    40     	}
       
    41 		
       
    42     };
       
    43 
       
    44 #endif // CALENCONTEXT_H
       
    45 
       
    46 // End of file