epoc32/include/schinfo.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/schinfo.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/schinfo.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// 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
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -29,6 +29,8 @@
    1.16  
    1.17  #include <s32strm.h>
    1.18  
    1.19 +
    1.20 +
    1.21  /** 
    1.22  Contains detailed information for a single task.
    1.23  
    1.24 @@ -145,10 +147,12 @@
    1.25  	EYearly
    1.26  	};
    1.27  
    1.28 +
    1.29  /**
    1.30  Defines the types of schedules supported by the task scheduler API
    1.31  @internalAll
    1.32  */
    1.33 +// Not for Client use , only to be used internally 
    1.34  enum TScheduleType
    1.35  	{
    1.36  	/** Indicates a time based schedule. */
    1.37 @@ -157,103 +161,6 @@
    1.38  	EConditionSchedule
    1.39  	};
    1.40  
    1.41 -
    1.42 -/** 
    1.43 -Defines a condition which a Publish and Subscribe Uid must satisfy.
    1.44 -
    1.45 -A condition encapsulates three pieces of information:
    1.46 -
    1.47 -the UID identifying the P&S variable against which a test is to be made.
    1.48 -
    1.49 -the value against which that P&S variable is to be tested.
    1.50 -
    1.51 -the type of test to be made.
    1.52 -
    1.53 -@see RScheduler::CreatePersistentSchedule
    1.54 -@see RScheduler::EditSchedule
    1.55 -@see RScheduler::ScheduleTask
    1.56 -@see RScheduler::GetScheduleL
    1.57 -@see RProperty
    1.58 -
    1.59 -@internalAll
    1.60 -*/
    1.61 -class TTaskSchedulerCondition
    1.62 -	{
    1.63 -public:
    1.64 -	/** 
    1.65 -	An enumeration defining the type of test to be made against 
    1.66 -	a Publish and Subscribe property. 
    1.67 -	*/
    1.68 -	enum TConditionType
    1.69 -		{
    1.70 -		/** Tests that a value is equal to a state variable value. */
    1.71 -		EEquals,		
    1.72 -		/** Tests that a value is unequal to a state variable value. */
    1.73 -		ENotEquals,		
    1.74 -		/** Tests that a value is greater than a state variable value. */
    1.75 -		EGreaterThan,	
    1.76 -		/** Tests that a value is less than a state variable value. */
    1.77 -		ELessThan		
    1.78 -		};
    1.79 -	inline TTaskSchedulerCondition();
    1.80 -	inline TTaskSchedulerCondition(TUid aCategory,
    1.81 -								TUint aKey, 
    1.82 -								TInt aState, 
    1.83 -								TConditionType aType);
    1.84 -public:
    1.85 -	/** P&S category.*/
    1.86 -	TUid iCategory;
    1.87 -	/** P&S key.*/
    1.88 -	TUint iKey;
    1.89 -	/** Integer state of corresponding P&S variable to be tested against*/
    1.90 -	TInt iState;
    1.91 -	/** type of test to be performed */
    1.92 -	TConditionType iType;
    1.93 -	};
    1.94 -
    1.95 -
    1.96 -/** 
    1.97 -Constructs the object with default values.
    1.98 -
    1.99 -The UID identifying the P&S category against which a test is to be made 
   1.100 -is set to KNullUid.  The sub key is set to zero.
   1.101 -
   1.102 -The value against which that P&S variable is to be tested is set to zero.
   1.103 -
   1.104 -The type of test to be made is set to EEquals. 
   1.105 -*/
   1.106 -inline TTaskSchedulerCondition::TTaskSchedulerCondition()
   1.107 -:	iCategory(KNullUid), 
   1.108 -	iKey(0),
   1.109 -	iState(0), 
   1.110 -	iType(EEquals)
   1.111 -	{
   1.112 -	}
   1.113 -
   1.114 -/** 
   1.115 -Constructs the object with the specified values.
   1.116 -
   1.117 -Note that the RProperty variable identified by the aCategory/aKey pair 
   1.118 -must be of integer type for this to be a valid task scheduler condition.
   1.119 -
   1.120 -@param aCategory The publish and subscribe category to be tested.
   1.121 -@param aKey The publish and suscribe sub-key to be tested.
   1.122 -@param aState The value against which the P&S variable identified by the 
   1.123 -specified UID is to be tested. 
   1.124 -@param aType The type of test to be made. 
   1.125 -
   1.126 -@see RProperty
   1.127 -*/
   1.128 -inline TTaskSchedulerCondition::TTaskSchedulerCondition(TUid aCategory,
   1.129 -										TUint aKey, 
   1.130 -										TInt aState, 
   1.131 -										TConditionType aType)
   1.132 -:	iCategory(aCategory),
   1.133 -	iKey(aKey), 
   1.134 -	iState(aState), 
   1.135 -	iType(aType)
   1.136 -	{
   1.137 -	}
   1.138  	
   1.139  /** 
   1.140  Defines, and uniquely identifies a schedule.
   1.141 @@ -515,26 +422,9 @@
   1.142  	TBool iEnabled;
   1.143  	};
   1.144  
   1.145 -/**
   1.146 -@internalComponent
   1.147 -*/
   1.148 -class TScheduleInfo // Move to cschcode.h when appropriate
   1.149 -	{
   1.150 -public:
   1.151 -	TScheduleState2 iState;
   1.152 -	TInt iEntryCount;
   1.153 -	TInt iTaskCount;
   1.154 -	};
   1.155 -
   1.156 -/**
   1.157 -@internalAll
   1.158 -@deprecated replaced with TScheduleSettings2
   1.159 -*/
   1.160 -class TScheduleSettings // Move to cschcode.h when appropriate
   1.161 -	{
   1.162 -public:
   1.163 -	TBool iPersists;
   1.164 -	TInt iEntryCount;
   1.165 -	};
   1.166 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
   1.167 +#include <schinfointernal.h>
   1.168  
   1.169  #endif
   1.170 +
   1.171 +#endif