diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/schinfo.h --- a/epoc32/include/schinfo.h Wed Mar 31 12:27:01 2010 +0100 +++ b/epoc32/include/schinfo.h Wed Mar 31 12:33:34 2010 +0100 @@ -1,9 +1,9 @@ // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +// under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +// at the URL "http://www.eclipse.org/legal/epl-v10.html". // // Initial Contributors: // Nokia Corporation - initial contribution. @@ -29,6 +29,8 @@ #include + + /** Contains detailed information for a single task. @@ -145,10 +147,12 @@ EYearly }; + /** Defines the types of schedules supported by the task scheduler API @internalAll */ +// Not for Client use , only to be used internally enum TScheduleType { /** Indicates a time based schedule. */ @@ -157,103 +161,6 @@ EConditionSchedule }; - -/** -Defines a condition which a Publish and Subscribe Uid must satisfy. - -A condition encapsulates three pieces of information: - -the UID identifying the P&S variable against which a test is to be made. - -the value against which that P&S variable is to be tested. - -the type of test to be made. - -@see RScheduler::CreatePersistentSchedule -@see RScheduler::EditSchedule -@see RScheduler::ScheduleTask -@see RScheduler::GetScheduleL -@see RProperty - -@internalAll -*/ -class TTaskSchedulerCondition - { -public: - /** - An enumeration defining the type of test to be made against - a Publish and Subscribe property. - */ - enum TConditionType - { - /** Tests that a value is equal to a state variable value. */ - EEquals, - /** Tests that a value is unequal to a state variable value. */ - ENotEquals, - /** Tests that a value is greater than a state variable value. */ - EGreaterThan, - /** Tests that a value is less than a state variable value. */ - ELessThan - }; - inline TTaskSchedulerCondition(); - inline TTaskSchedulerCondition(TUid aCategory, - TUint aKey, - TInt aState, - TConditionType aType); -public: - /** P&S category.*/ - TUid iCategory; - /** P&S key.*/ - TUint iKey; - /** Integer state of corresponding P&S variable to be tested against*/ - TInt iState; - /** type of test to be performed */ - TConditionType iType; - }; - - -/** -Constructs the object with default values. - -The UID identifying the P&S category against which a test is to be made -is set to KNullUid. The sub key is set to zero. - -The value against which that P&S variable is to be tested is set to zero. - -The type of test to be made is set to EEquals. -*/ -inline TTaskSchedulerCondition::TTaskSchedulerCondition() -: iCategory(KNullUid), - iKey(0), - iState(0), - iType(EEquals) - { - } - -/** -Constructs the object with the specified values. - -Note that the RProperty variable identified by the aCategory/aKey pair -must be of integer type for this to be a valid task scheduler condition. - -@param aCategory The publish and subscribe category to be tested. -@param aKey The publish and suscribe sub-key to be tested. -@param aState The value against which the P&S variable identified by the -specified UID is to be tested. -@param aType The type of test to be made. - -@see RProperty -*/ -inline TTaskSchedulerCondition::TTaskSchedulerCondition(TUid aCategory, - TUint aKey, - TInt aState, - TConditionType aType) -: iCategory(aCategory), - iKey(aKey), - iState(aState), - iType(aType) - { - } /** Defines, and uniquely identifies a schedule. @@ -515,26 +422,9 @@ TBool iEnabled; }; -/** -@internalComponent -*/ -class TScheduleInfo // Move to cschcode.h when appropriate - { -public: - TScheduleState2 iState; - TInt iEntryCount; - TInt iTaskCount; - }; - -/** -@internalAll -@deprecated replaced with TScheduleSettings2 -*/ -class TScheduleSettings // Move to cschcode.h when appropriate - { -public: - TBool iPersists; - TInt iEntryCount; - }; +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS +#include #endif + +#endif