calendarui/application/inc/calenserviceprovider.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 14:57:40 +0300
changeset 18 c198609911f9
child 45 b6db4fd4947b
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* 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,
			DayView
		};
	//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.