calendarui/application/inc/calenserviceprovider.h
branchRCL_3
changeset 65 12af337248b1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calendarui/application/inc/calenserviceprovider.h	Tue Aug 31 15:13:43 2010 +0300
@@ -0,0 +1,43 @@
+/*
+* 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: 
+*
+*/
+#include <xqserviceprovider.h>
+#include <xqserviceipcmarshal.h>
+
+class CCalenController;
+
+class CalenServiceProvider : public XQServiceProvider
+{
+
+Q_OBJECT
+
+public:
+	enum CalenView{
+			MonthView = 0,
+			AgendaView
+		};
+	//Q_DECLARE_USER_METATYPE_ENUM(enum);
+    CalenServiceProvider(CCalenController *controller, QObject* parent = 0);
+    ~CalenServiceProvider();
+
+public slots:
+    void launchCalendarApp(const QDateTime& date, int viewId);
+	
+private:
+    CCalenController *mController;
+};
+
+// End of file	--Don't remove this.