First public contribution.
2 * Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * FORM global parameters; held in thread-local storage.
23 /** Sets the thread-local storage to aParam.
25 Pointer to the MFormParam implementation, or null, to cancel using system
28 EXPORT_C void MFormParam::Set(const MFormParam* aParam)
30 Dll::SetTls((void*)aParam);
33 /** Gets the thread-local storage value.
34 @return Pointer to the MFormParam implementation. */
35 EXPORT_C const MFormParam* MFormParam::Get()
37 return (const MFormParam*)Dll::Tls();
40 EXPORT_C void MFormParam::Reserved()