equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #include <xqserviceprovider.h> |
|
18 #include <xqserviceipcmarshal.h> |
|
19 |
|
20 class CCalenController; |
|
21 |
|
22 class CalenServiceProvider : public XQServiceProvider |
|
23 { |
|
24 |
|
25 Q_OBJECT |
|
26 |
|
27 public: |
|
28 enum CalenView{ |
|
29 MonthView = 0, |
|
30 DayView |
|
31 }; |
|
32 //Q_DECLARE_USER_METATYPE_ENUM(enum); |
|
33 CalenServiceProvider(CCalenController *controller, QObject* parent = 0); |
|
34 ~CalenServiceProvider(); |
|
35 |
|
36 public slots: |
|
37 void launchCalendarApp(const QDateTime& date, int viewId); |
|
38 |
|
39 private: |
|
40 CCalenController *mController; |
|
41 }; |
|
42 |
|
43 // End of file --Don't remove this. |