diff -r 2c54b51f39c4 -r bb2d3e476f29 calendarui/calenlauncher/inc/calenlauncher.h --- a/calendarui/calenlauncher/inc/calenlauncher.h Mon Jul 26 13:54:38 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -/* -* 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: Calendar Launcher -* -*/ -#include -#include - -#ifdef CALENLAUNCHER_LIB -# define CALENLAUNCHER_EXPORT Q_DECL_EXPORT -#else -# define CALENLAUNCHER_EXPORT Q_DECL_IMPORT -#endif -class CALENLAUNCHER_EXPORT CalenLauncher : public QObject -{ -Q_OBJECT - -public: - enum CalenView{ - MonthView = 0, - AgendaView - }; - CalenLauncher(QObject* parent = 0); - ~CalenLauncher(); - - void launchCalendarApp(CalenView view, QDateTime& dateTime, - bool synchronousLaunch = true); - -signals: - void calendarLaunchFailed(int error); - -public slots: - void handleError(int error); -}; - -// End of file --Don't remove this.