diff -r 6ca72c0fe49a -r a941bc465d9f PECengine/AttributeLibrary2/Inc/PEngWVCspVersion.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PECengine/AttributeLibrary2/Inc/PEngWVCspVersion.h Wed Sep 01 12:31:13 2010 +0100 @@ -0,0 +1,77 @@ +/* +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "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: Wireless Village CSP version selector. +* +*/ + +#ifndef __PENGWVCSPVERSION_H +#define __PENGWVCSPVERSION_H + +// INCLUDES +#include + + +// DATA TYPES +/** + * WV CSP versions. + * + * @since 3.0 + */ +enum TPEngWVCspVersion + { + EWVCspV11 = 11, + EWVCspV12 = 12, + }; + + +// CLASS DECLARATION +/** + * Wireless Village CSP version selector. + * + * @lib PEngAttrLib + * @since 3.0 + */ +class PEngWVCspVersion + { + public: // New functions + + /** + * Selects which WV CSP version to use. + * Loads used WV CSP version from WV Engine CenRep file. + * + * @since 3.0 + * @return CSP version enumeration. + */ + IMPORT_C static TPEngWVCspVersion SelectVersionL(); + + + /** + * Sets used WV CSP version to WV Engine CenRep file. + * + * @since 3.0 + * @param CSP version enumeration. + */ + IMPORT_C static void SetVersionL( TPEngWVCspVersion aVersion ); + + + protected: // Prohibited constructor & destructor + + PEngWVCspVersion(); + ~PEngWVCspVersion(); + }; + +#endif // __PENGWVCSPVERSION_H + +// End of File +