calendarui/views/dayview/tsrc/unittests/unittest_calendayview/calenservices.h
changeset 45 b6db4fd4947b
child 75 7ac58b2aae6f
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     1 /*
       
     2  * calenservices.h
       
     3  *
       
     4  *  Created on: Jun 21, 2010
       
     5  *      Author: zabinpio
       
     6  */
       
     7 
       
     8 #ifndef CALENSERVICES_H_
       
     9 #define CALENSERVICES_H_
       
    10 
       
    11 #include "calencontext.h"
       
    12 
       
    13 /*!
       
    14  Mocked class MCalenServices
       
    15  */
       
    16 class AgendaUtil;
       
    17 
       
    18 class MCalenServices
       
    19 {
       
    20 public:
       
    21     MCalenServices() {
       
    22         
       
    23     }
       
    24     
       
    25     MCalenContext& Context(){
       
    26 			return mContext;
       
    27     	}
       
    28     
       
    29     int getFirstView(){ return 0;}
       
    30     TBool IssueCommandL( TInt aCommand  ){ Q_UNUSED(aCommand); return EFalse;}
       
    31     AgendaUtil* agendaInterface() {return 0;}
       
    32     
       
    33     ~MCalenServices() {
       
    34         
       
    35     }
       
    36     
       
    37     MCalenContext mContext;
       
    38 };
       
    39 #endif /* CALENSERVICES_H_ */