diff -r 675a964f4eb5 -r 35751d3474b7 cryptoservices/filebasedcertificateandkeystores/source/generic/server/FSResources.h --- a/cryptoservices/filebasedcertificateandkeystores/source/generic/server/FSResources.h Tue Jul 21 01:04:32 2009 +0100 +++ b/cryptoservices/filebasedcertificateandkeystores/source/generic/server/FSResources.h Thu Sep 10 14:01:51 2009 +0300 @@ -1,63 +1,61 @@ -/* -* 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 "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* FSResources class that contains resources (locale-specific strings -* and so on) needed by the file token server -* -*/ - - - - -/** - @file - @internalTechnology -*/ - -#include -#include -#include -#include - -class FSResources - { - public: - /// If the resources aren't initialised, initialise them - static void InitialiseL(); - /// Free all resources. - static void Cleanup(); - - /// Returns an array of strings. The strings are identified by - /// enums in TStrings - inline static const CDesCArray& Strings(); - - /// The meaning of each of the strings returned by Strings - enum TStrings - { - /// The label associated with the passphrase for decrypting - /// imported keys - EImportPassphraseLabel = 0, - EExportPassphraseLabel =1, - EPinGLabel = 2, - ECreatePinGLabel = 3 - }; - - private: - static CDesCArray* iStrings; - }; - -inline const CDesCArray& FSResources::Strings() - { - return *iStrings; - } +/* +* 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 "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* FSResources class that contains resources (locale-specific strings +* and so on) needed by the file token server +* +*/ + + +/** + @file + @internalTechnology +*/ + +#include +#include +#include +#include + +class FSResources + { + public: + /// If the resources aren't initialised, initialise them + static void InitialiseL(); + /// Free all resources. + static void Cleanup(); + + /// Returns an array of strings. The strings are identified by + /// enums in TStrings + inline static const CDesCArray& Strings(); + + /// The meaning of each of the strings returned by Strings + enum TStrings + { + /// The label associated with the passphrase for decrypting + /// imported keys + EImportPassphraseLabel = 0, + EExportPassphraseLabel =1, + EPinGLabel = 2, + ECreatePinGLabel = 3 + }; + + private: + static CDesCArray* iStrings; + }; + +inline const CDesCArray& FSResources::Strings() + { + return *iStrings; + }