diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/localeupdate_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/localeupdate_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ - -
-00001 // Copyright (c) 2008-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 various constants and function prototypes for localeupdate.cpp. -00015 // -00016 -00017 -00018 -00022 #ifndef __LOCALEUPDATE_H__ -00023 #define __LOCALEUPDATE_H__ -00024 -00025 #include <e32base.h> -00026 #include <collate.h> -00027 #include <e32std.h> -00028 #include <e32cons.h> -00029 const TInt KLength = 20; -00030 -00037 class CLocaleSettings : public CBase -00038 { -00039 public: -00040 ~CLocaleSettings(); -00041 static CLocaleSettings* NewL(TDesC16& aLocaleDLLName, CConsoleBase* aConsole); -00042 void DisplayLocaleSettings(); -00043 -00044 private: -00045 CLocaleSettings(); -00046 void ConstructL(TDesC16& aLocaleDLLName, CConsoleBase* aConsole); -00047 private: -00051 TExtendedLocale iExtendedLocale; -00056 TLocale* iLocale; -00060 TDay iStartOfWeek; -00066 TUint iWorkingDaysMask; -00070 TCollationMethod iCollationMethod; -00074 TInt iCountryCode; -00078 TDateFormat iDateFormat; -00082 TTimeFormat iTimeFormat; -00086 TChar iThousandsSeparator; -00090 TChar iDecimalSeparator; -00094 TUnitsFormat iUnitsFormat; -00098 CConsoleBase* iConsole; -00102 TBuf<KLength> iLocaleDLLName; -00106 TTimeIntervalSeconds iUTCOffset; -00107 }; -00108 -00109 _LIT(KTextPressAnyKey, "[press any key]\r\n"); -00110 _LIT(KTextNewLine, "\r\n"); -00111 _LIT(KTextChar, "%c"); -00112 _LIT(KTxtEPOC32EX, "EXAMPLES"); -00113 _LIT(KTxtExampleCode, "Symbian platform locale Example Code"); -00114 _LIT(KTxtOK, "ok"); -00115 _LIT(KFormatFailed, "failed: leave code=%d"); -00116 -00117 #endif -00118 -