00001 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // Contains the CTaskSchedule class. 00015 // 00016 00017 00018 00022 #ifndef __TASKSCHEDULER_H__ 00023 #define __TASKSCHEDULER_H__ 00024 00025 // Symbian platform includes 00026 #include <csch_cli.h> 00027 00035 class CTaskSchedule: public CBase 00036 { 00037 public: 00038 static CTaskSchedule* NewLC(); 00039 00040 ~CTaskSchedule(); 00041 00042 void ConnectAndRegisterL(); 00043 void PersistentScheduleL(); 00044 void CreatePersistentScheduleL(TSchedulerItemRef& aRef, const TTsTime& aStartTime); 00045 void CreateTransientScheduleL(); 00046 void DoesScheduledItemExistL(TSchedulerItemRef &aRef, TBool& aExists); 00047 void DeleteSchedulesL(TSchedulerItemRef &aRef, TScheduleFilter aFilter); 00048 00049 private: 00050 CTaskSchedule(); 00051 void ConstructL(); 00052 00053 private: 00055 CConsoleBase* iConsole; 00057 RScheduler iScheduler; 00058 00059 }; 00060 00061 #endif //__TASKSCHEDULER_H__
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.