diff -r 95243422089a -r 491b3ed49290 filemanager/App/inc/CFileManagerTaskScheduler.h --- a/filemanager/App/inc/CFileManagerTaskScheduler.h Thu Aug 19 09:42:45 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,90 +0,0 @@ -/* -* Copyright (c) 2006 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: Wraps task scheduler functionality -* -*/ - - - -#ifndef C_FILEMANAGERTASKSCHEDULER_H -#define C_FILEMANAGERTASKSCHEDULER_H - - -// INCLUDES -#include -#include - - -// FORWARD DECLARATIONS -class CFileManagerEngine; - - -// CLASS DECLARATION -/** - * This class wraps task scheduler functionality - * - * @since S60 3.1 - */ -class CFileManagerTaskScheduler : public CBase - { - -public: // New functions - /** - * Two-phased constructor. - */ - static CFileManagerTaskScheduler* NewL( - CFileManagerEngine& aEngine ); - - /** - * Destructor. - */ - ~CFileManagerTaskScheduler(); - - /** - * Enables and disables backup schedule - */ - void EnableBackupScheduleL( const TBool aEnable ); - -private: - CFileManagerTaskScheduler( - CFileManagerEngine& aEngine ); - - void ConstructL(); - - void CreateScheduleL(); - - void DeleteScheduleL(); - -private: // Data - /** - * Reference to file manager engine - * Not own. - */ - CFileManagerEngine& iEngine; - - /** - * Handle to task scheduler - */ - RScheduler iScheduler; - - /** - * Handle to schedule - */ - TInt iScheduleHandle; - - }; - -#endif // C_FILEMANAGERBACKUPSCHEDULER_H - -// End of File