calendarui/views/dayview/tsrc/unittests/unittest_calendayitemview/calenservices.h
branchRCL_3
changeset 65 12af337248b1
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
       
     1 /*
       
     2  * Copyright (c) 2009 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 #ifndef CALENSERVICES_H
       
    19 #define CALENSERVICES_H
       
    20 
       
    21 #include "calencontext.h"
       
    22 
       
    23 extern quint32 SELECTED_COMMAND;
       
    24 
       
    25 /*!
       
    26  Mocked class MCalenServices
       
    27  */
       
    28 class MCalenServices
       
    29 {
       
    30 public:
       
    31     MCalenServices() {
       
    32         
       
    33     }
       
    34     
       
    35     ~MCalenServices() {
       
    36         
       
    37     }
       
    38     
       
    39     MCalenContext Context() {return MCalenContext();}
       
    40     
       
    41     bool IssueCommandL( quint32 aCommand  ) 
       
    42     {
       
    43         SELECTED_COMMAND = aCommand;
       
    44 
       
    45         return true;
       
    46     }
       
    47 };
       
    48 
       
    49 #endif // CALENSERVICES_H