calendarui/views/dayview/tsrc/unittests/unittest_calendaystatusstrip/calendayutils.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/calendarui/views/dayview/tsrc/unittests/unittest_calendaystatusstrip/calendayutils.h Mon Sep 06 10:12:45 2010 +0530
@@ -0,0 +1,46 @@
+/*!
+ Mocked class CalenDayUtils
+ */
+/*
+ * Copyright (c) 2010 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: CalenDayUtils utility class header.
+ *
+ */
+
+#ifndef CALENDAYUTILS_H_
+#define CALENDAYUTILS_H_
+
+class CalenDayUtils
+{
+public:
+ static CalenDayUtils *instance()
+ {
+ return new CalenDayUtils();
+ }
+ ~CalenDayUtils()
+ {
+ }
+
+ qreal hourElementHeight()
+ {
+ return 30;
+ }
+
+protected:
+ CalenDayUtils()
+ {
+ }
+};
+
+#endif /* CALENDAYUTILS_H_ */