epoc32/include/tzupdate.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/tzupdate.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,78 +0,0 @@
     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 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __TZUPDATE_H__
    1.20 -#define __TZUPDATE_H__
    1.21 -
    1.22 -#include <e32cmn.h> // TUid.
    1.23 -
    1.24 -/** UTC Offset update notification constants. When the UTC offset is automatically
    1.25 -adjusted for Daylight Saving then it is possible to receive
    1.26 -notification using the Publish and Subscribe API with the
    1.27 -values defined here. Note that this property is updated by the Time Zone Server
    1.28 -as this is the only component that can modify the UTC Offset.
    1.29 -
    1.30 -@see RProperty in e32property.h
    1.31 -@publishedAll
    1.32 -@released
    1.33 -@since 9.1
    1.34 -*/
    1.35 -namespace NTzUpdate
    1.36 -    {
    1.37 -    const TUid KPropertyCategory = { 0x1020383E };
    1.38 -
    1.39 -    enum TPropertyKeys
    1.40 -        {
    1.41 -        EUtcOffsetChangeNotification,
    1.42 -        ECurrentTimeZoneId,
    1.43 -        EHomeTimeZoneId,
    1.44 -        ENextDSTChange
    1.45 -        };
    1.46 -
    1.47 -	struct TTimeZoneChange
    1.48 -		{
    1.49 -		TInt iNewTimeZoneId;
    1.50 -		TInt iOldTimeZoneId;
    1.51 -		};
    1.52 -		
    1.53 -	/** This struct is used to publish DST Change info in an RProperty.
    1.54 -	Subscribers to the property will define a copy of this struct
    1.55 -	so that they are not dependant on the tz component.
    1.56 -	If this struct changes then the copies must also be changed.
    1.57 -	@internalTechnology
    1.58 -	*/
    1.59 -	struct TDSTChangeInfo
    1.60 -		{
    1.61 -		/** The version of the struct. Currently always 1 */
    1.62 -		TUint8 iVersion;
    1.63 -
    1.64 -		/** The time of the next offset change in UTC */
    1.65 -		TTime iNextDSTChangeUTC;
    1.66 -		/** The offset from UTC (in minutes) after the next DST change will take place.*/
    1.67 -		TInt iNextUTCOffset;
    1.68 -		
    1.69 -		/** The time of the previous offset change in UTC. This member is only valid if the version is 2 or above. */
    1.70 -		TTime iPreviousDSTChangeUTC;
    1.71 -
    1.72 -		/** The offset from UTC (in minutes) before the previous DST change took place. This member is only valid
    1.73 -		if the version is 2 or above.*/
    1.74 -		TInt iPreviousUTCOffset;
    1.75 -
    1.76 -		/** Reserved for future use. */
    1.77 -		TInt iReserved[12];
    1.78 -		};
    1.79 -    }
    1.80 -
    1.81 -#endif  // __TZUPDATE_H__