diff -r 96907930389d -r 12af337248b1 calendarui/views/dayview/tsrc/unittests/unittest_calendayitemview/calenservices.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/calendarui/views/dayview/tsrc/unittests/unittest_calendayitemview/calenservices.h Tue Aug 31 15:13:43 2010 +0300 @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * + */ + +#ifndef CALENSERVICES_H +#define CALENSERVICES_H + +#include "calencontext.h" + +extern quint32 SELECTED_COMMAND; + +/*! + Mocked class MCalenServices + */ +class MCalenServices +{ +public: + MCalenServices() { + + } + + ~MCalenServices() { + + } + + MCalenContext Context() {return MCalenContext();} + + bool IssueCommandL( quint32 aCommand ) + { + SELECTED_COMMAND = aCommand; + + return true; + } +}; + +#endif // CALENSERVICES_H