diff -r fd30d51f876b -r b6db4fd4947b 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 Mon Jun 28 15:22:02 2010 +0530 @@ -0,0 +1,42 @@ +/* + * 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" + +/*! + Mocked class MCalenServices + */ +class MCalenServices +{ +public: + MCalenServices() { + + } + + ~MCalenServices() { + + } + + MCalenContext Context() {return MCalenContext();} + + bool IssueCommandL( quint32 aCommand ) {Q_UNUSED(aCommand); return true;} +}; + +#endif // CALENSERVICES_H